:root {
  --bg: #fafafa;
  --white: #ffffff;
  --ink: #111111;
  --body: #222222;
  --muted: #555555;
  --meta: #6b6b6b;
  --line: #e8e8e8;
  --footer-bg: #f3f3f3;
  --accent: #FF6924;
  --accent-hover: #E85A18;
  --accent-soft: #fff4ee;
  --vision-bg: #fff8f4;
  --banner-bg: #fff3ea;
  --banner-ink: #1a120e;
  --max: 720px;
  --wide: 1080px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
.wrap { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.wrap-wide { width: min(100% - 2rem, var(--wide)); margin-inline: auto; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade, .line-inner, .blur-in, .nav-inner, .mockup-card, .stagger > * {
    opacity: 1 !important; transform: none !important; transition: none !important;
    animation: none !important; filter: none !important;
  }
}

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 250, 250, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.9rem 0; width: min(100% - 2rem, var(--wide)); margin-inline: auto;
  opacity: 0; transform: translateY(-8px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
body.loaded .nav-inner { opacity: 1; transform: none; }
.logo { display: flex; align-items: center; gap: 0.6rem; font-weight: 700; font-size: 15px; color: var(--ink); }
.logo img { width: 32px; height: 32px; border-radius: 8px; }
.nav-links { display: none; gap: 1.5rem; list-style: none; margin: 0; padding: 0; font-size: 13px; color: var(--muted); }
.nav-links a:hover { color: var(--accent); }
@media (min-width: 900px) { .nav-links { display: flex; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.65rem 1.35rem; border-radius: 999px; font-family: inherit;
  font-size: 13px; font-weight: 600; border: 1px solid transparent; cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: none; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-outline { background: var(--white); border-color: rgba(255, 105, 36, 0.35); color: var(--accent); }
.btn-outline:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Hero */
.hero { padding: 3.5rem 0 2.5rem; overflow: hidden; }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1fr 280px; gap: 3.5rem; } }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin: 0 0 1rem; }
.headline { margin: 0 0 1rem; font-size: clamp(2.1rem, 5vw, 3rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.035em; color: var(--ink); }
.headline .line { display: block; overflow: hidden; padding-bottom: 0.05em; }
.headline .line-inner {
  display: block; transform: translateY(110%); opacity: 0; filter: blur(10px);
  transition: transform 0.85s var(--ease-out), opacity 0.85s var(--ease-out), filter 0.85s var(--ease-out);
}
body.loaded .headline .line:nth-child(1) .line-inner { transform: none; opacity: 1; filter: none; transition-delay: 0.1s; }
body.loaded .headline .line:nth-child(2) .line-inner { transform: none; opacity: 1; filter: none; transition-delay: 0.2s; }
.blur-in { opacity: 0; transform: translateY(14px); filter: blur(8px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out), filter 0.7s var(--ease-out); }
body.loaded .blur-in { opacity: 1; transform: none; filter: none; }
body.loaded .blur-in.d1 { transition-delay: 0.28s; }
body.loaded .blur-in.d2 { transition-delay: 0.38s; }
body.loaded .blur-in.d3 { transition-delay: 0.48s; }
body.loaded .blur-in.d4 { transition-delay: 0.58s; }
body.loaded .blur-in.d5 { transition-delay: 0.68s; }
.hero-lede { margin: 0 0 1.5rem; font-size: 18px; line-height: 1.55; color: var(--muted); max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-bottom: 1rem; }
.platform-note { font-size: 13px; color: var(--meta); margin: 0; line-height: 1.5; }
.platform-note a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.hero-phone {
  margin: 0; justify-self: center; max-width: 260px;
  border-radius: 28px; overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.1);
  opacity: 0; transform: translateY(20px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
body.loaded .hero-phone { opacity: 1; transform: none; animation: float 7s ease-in-out 1.2s infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.hero-phone img { width: 100%; border-radius: 0; }
.feature-media--shot img,
.mockup-card__img img {
  border-radius: 0;
  box-shadow: none;
  filter: none;
  mix-blend-mode: normal;
}

/* Article */
.article { padding-bottom: 2rem; }
.article-section { padding: 4.5rem 0; border-top: 1px solid var(--line); }
.article-section--white { background: var(--white); }
.section-label { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin: 0 0 0.75rem; }
h2 { margin: 0 0 1rem; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; letter-spacing: -0.03em; color: var(--ink); line-height: 1.15; }
h3 { margin: 0 0 0.5rem; font-size: 1.05rem; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.lede { font-size: 17px; color: var(--muted); margin: 0 0 2rem; max-width: 640px; line-height: 1.6; }
.lede--center { margin-inline: auto; text-align: center; }
.prose { max-width: 640px; }
.prose p { margin: 0 0 1.15rem; color: var(--muted); font-size: 15px; line-height: 1.7; }
.prose p:last-child { margin-bottom: 0; }

.fade { opacity: 0; transform: translateY(18px); filter: blur(5px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out), filter 0.8s var(--ease-out); }
.fade.in { opacity: 1; transform: none; filter: none; }
.reveal-title { overflow: hidden; margin-bottom: 1rem; }
.reveal-title .title-inner { display: block; transform: translateY(100%); opacity: 0; transition: transform 0.8s var(--ease-out), opacity 0.8s var(--ease-out); }
.fade.in .reveal-title .title-inner { transform: none; opacity: 1; }

.feature-row {
  display: grid; gap: 2rem; align-items: center; margin-top: 2.5rem;
}
@media (min-width: 800px) {
  .feature-row { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .feature-row.reverse .feature-copy { order: 2; }
  .feature-row.reverse .feature-media { order: 1; }
}
.feature-media { margin: 0; }
.feature-media img {
  border-radius: 16px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  width: 100%; max-width: 320px; margin-inline: auto;
}
.feature-media--phone {
  background: var(--phone-surface, var(--bg));
}
.feature-media--phone img {
  max-width: 240px;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}
.feature-media--shot img {
  width: 100%;
  max-width: 320px;
  margin-inline: auto;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}
.article-section--white .feature-media--phone { --phone-surface: var(--white); }
.feature-copy h3 { margin-bottom: 0.65rem; color: var(--accent); font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; }
.feature-copy .feature-title { font-size: 1.35rem; font-weight: 800; color: var(--ink); margin: 0 0 0.75rem; letter-spacing: -0.02em; text-transform: none; }
.feature-copy p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }

.mockup-grid { display: grid; gap: 2rem; margin-top: 2.5rem; }
@media (min-width: 720px) { .mockup-grid { grid-template-columns: repeat(3, 1fr); } }
.mockup-card {
  margin: 0; text-align: center;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out), border-color 0.2s, box-shadow 0.2s;
}
.mockup-card.in { opacity: 1; transform: none; }
.mockup-card:nth-child(2).in { transition-delay: 0.1s; }
.mockup-card:nth-child(3).in { transition-delay: 0.2s; }
.mockup-card:hover { border-color: #ccc; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06); }
.mockup-card__img {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #f5f5f5;
  aspect-ratio: 9 / 16;
  max-width: 200px;
  margin-inline: auto;
}
.mockup-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.35s var(--ease-out);
}
.mockup-card:hover .mockup-card__img img { transform: scale(1.03); }
.mockup-card figcaption { margin-top: 1rem; font-weight: 700; font-size: 14px; color: var(--ink); }
.mockup-card span { display: block; margin-top: 0.25rem; font-size: 12px; font-weight: 400; color: var(--meta); }

.mode-grid { display: grid; gap: 1rem; margin-top: 2rem; }
@media (min-width: 640px) { .mode-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .mode-grid { grid-template-columns: repeat(3, 1fr); } }
.mode-card {
  padding: 1.35rem; border-radius: 16px; background: var(--white);
  border: 1px solid var(--line); transition: border-color 0.2s, box-shadow 0.2s;
}
.mode-card:hover { border-color: rgba(255, 105, 36, 0.35); box-shadow: 0 8px 30px rgba(255, 105, 36, 0.08); }
.mode-card h3 { margin-bottom: 0.35rem; }
.mode-card p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.55; }

.metric-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; margin-top: 2rem; }
@media (min-width: 640px) { .metric-grid { grid-template-columns: repeat(3, 1fr); } }
.metric {
  padding: 1rem; border-radius: 12px; background: var(--accent-soft);
  border: 1px solid rgba(255, 105, 36, 0.15);
}
.metric strong { display: block; font-size: 14px; color: var(--ink); margin-bottom: 0.2rem; }
.metric span { font-size: 12px; color: var(--muted); line-height: 1.45; }

.vision-section {
  padding: 5rem 0; background: var(--vision-bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.showcase-card {
  position: relative;
  margin: 2rem 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #111;
  max-height: 220px;
}
.showcase-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}
.showcase-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: linear-gradient(90deg, rgba(8, 8, 8, 0.72) 0%, rgba(8, 8, 8, 0.45) 55%, rgba(8, 8, 8, 0.2) 100%);
}
.showcase-card__overlay p {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #fff;
  max-width: 420px;
  text-align: center;
  text-shadow: 0 1px 24px rgba(0, 0, 0, 0.35);
}
.showcase-card__overlay strong { color: #ffb088; font-weight: 700; }
.vision-quote {
  margin: 2rem 0 0; padding-top: 2rem; border-top: 2px solid var(--accent);
  font-size: clamp(1.25rem, 2.5vw, 1.6rem); font-weight: 600; line-height: 1.45;
  letter-spacing: -0.02em; color: var(--ink); max-width: 640px;
}
.principle-list { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.25rem; max-width: 640px; }
.principle-list li { padding-left: 1.25rem; border-left: 3px solid var(--accent); }
.principle-list strong { display: block; color: var(--ink); margin-bottom: 0.25rem; font-size: 15px; }
.principle-list span { font-size: 14px; color: var(--muted); line-height: 1.6; }

.pricing-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2.25rem;
  max-width: 920px;
  margin-inline: auto;
}
@media (min-width: 768px) {
  .pricing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.15rem; align-items: stretch; }
}
.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.35rem 1.25rem 1.25rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}
.pricing-card--featured {
  border-color: rgba(255, 105, 36, 0.35);
  background: linear-gradient(180deg, #fffaf7 0%, var(--white) 100%);
  box-shadow: 0 12px 32px rgba(255, 105, 36, 0.1);
}
@media (min-width: 768px) {
  .pricing-card--featured { transform: translateY(-4px); }
}
.pricing-badge {
  position: absolute;
  top: -0.55rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.pricing-tier {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.35rem;
}
.pricing-price {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1;
}
.pricing-period {
  margin: 0.35rem 0 1rem;
  font-size: 12px;
  color: var(--meta);
}
.pricing-features {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}
.pricing-features li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.55rem;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}
.pricing-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.pricing-cta {
  width: 100%;
  margin-top: 1rem;
  justify-content: center;
}
.pricing-note {
  max-width: 640px;
  margin: 1.5rem auto 0;
  text-align: center;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}
.pricing-note strong { color: var(--ink); }

.faq { margin-top: 2rem; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.15rem 0; background: none; border: none; cursor: pointer;
  font-family: inherit; font-size: 15px; font-weight: 600; color: var(--ink); text-align: left;
}
.faq-q svg { flex-shrink: 0; color: var(--accent); transition: transform 0.25s; }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-a-inner { padding-bottom: 1.15rem; font-size: 14px; color: var(--muted); line-height: 1.65; max-width: 600px; }
.faq-a-inner a { color: var(--accent); text-decoration: underline; }
.faq-item.open .faq-a { max-height: 400px; }

/* App download banner */
.app-banner {
  background: var(--banner-bg);
  border-top: 1px solid rgba(255, 105, 36, 0.12);
  margin-top: 0;
}
.app-banner__inner {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  padding: 3.5rem 0;
}
@media (min-width: 768px) {
  .app-banner__inner {
    grid-template-columns: 1fr minmax(200px, 260px);
    gap: 4rem;
    padding: 4rem 0;
  }
}
.app-banner__copy { text-align: center; }
@media (min-width: 768px) { .app-banner__copy { text-align: left; order: 1; } }
.app-banner__eyebrow {
  margin: 0 0 0.65rem;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.app-banner__copy h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--banner-ink);
  line-height: 1.08;
}
.app-banner__tagline {
  margin: 0 auto 1.5rem;
  font-size: 17px;
  line-height: 1.55;
  color: rgba(26, 18, 14, 0.72);
  max-width: 440px;
}
@media (min-width: 768px) {
  .app-banner__tagline { margin-inline: 0; }
  .app-banner__phone { order: 2; }
}
.app-banner__stores {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
@media (min-width: 768px) { .app-banner__stores { justify-content: flex-start; } }
.app-banner__phone {
  margin: 0 auto;
  max-width: 240px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  background: #fff;
}
.app-banner__phone img {
  width: 100%;
  display: block;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.5rem 1rem 0.5rem 0.85rem;
  background: var(--ink);
  color: #fff;
  border-radius: 10px;
  transition: transform 0.2s, background 0.2s;
}
.store-badge:hover {
  transform: translateY(-2px);
  background: #000;
}
.store-badge__icon { flex-shrink: 0; display: block; filter: brightness(0) invert(1); }
.store-badge__text { display: flex; flex-direction: column; line-height: 1.05; text-align: left; }
.store-badge__small { font-size: 10px; font-weight: 500; letter-spacing: 0.01em; opacity: 0.92; }
.store-badge__large { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }

/* Footer — NayaPay-style */
.site-footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--line);
  margin-top: 0;
}
.footer-links {
  padding: 3rem 0 2.5rem;
  border-bottom: 1px solid var(--line);
}
.footer-columns {
  display: grid;
  gap: 2rem 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 768px) {
  .footer-columns { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
}
.footer-col h4 {
  margin: 0 0 0.85rem;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a {
  font-size: 14px;
  color: var(--muted);
  transition: color 0.15s;
  text-decoration: none;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 0 1.75rem;
  font-size: 13px;
  color: var(--meta);
  border-top: 1px solid var(--line);
}
@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
.footer-bottom-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.footer-bottom-brand img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}
.footer-bottom a { color: var(--muted); transition: color 0.15s; }
.footer-bottom a:hover { color: var(--accent); }
.footer-bottom-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
}
.footer-bottom-link:hover { color: var(--accent); }

/* Cofounder-style word grid */
.word-grid-wrap { max-width: 920px; margin: 0 auto; }
.word-grid {
  display: grid;
  grid-template-columns: repeat(var(--word-cols, 22), minmax(0, 1fr));
  gap: 0.35rem 0.15rem;
  padding: 1.5rem 0.5rem;
  user-select: none;
}
.word-grid__cell {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 1;
  font-size: clamp(10px, 1.3vw, 13px);
  font-weight: 500;
  letter-spacing: 0.03em;
  color: #c4c4c4;
  border-radius: 6px;
  cursor: default;
  transition: color 0.2s, background 0.2s, outline 0.2s, transform 0.2s;
}
.word-grid__cell--hit {
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
}
.word-grid__cell--hit:hover,
.word-grid__cell--active {
  color: var(--ink);
  background: rgba(255, 105, 36, 0.14);
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  transform: scale(1.08);
  z-index: 1;
}
.word-grid-hint {
  margin: 0.5rem 0 0;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  min-height: 1.5em;
  transition: color 0.2s;
}
.word-grid-hint.is-active { color: var(--ink); font-weight: 600; }
