:root {
  --bg: #0e1014;
  --bg-2: #12141a;
  --surface: #191c22;
  --surface-2: #20242c;
  --hairline: rgba(255, 255, 255, 0.08);
  --text: #f2f4f5;
  --muted: #9aa0a6;
  --faint: #6b7178;
  --primary: #c7f94c;
  --primary-ink: #0e1014;
  --income: #c7f94c;
  --expense: #ff5c6c;
  --radius: 18px;
  --max: 1120px;
  --font: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

h1, h2, h3 { line-height: 1.1; letter-spacing: -0.02em; font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); margin-bottom: 12px; }
h3 { font-size: 1.125rem; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
}
.center { text-align: center; }

/* ---- buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9375rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.12s ease, opacity 0.12s ease, background 0.12s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn--primary { background: var(--primary); color: var(--primary-ink); box-shadow: 0 10px 30px rgba(199, 249, 76, 0.22); }
.btn--primary:hover { opacity: 0.92; }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--hairline); }
.btn--ghost:hover { background: var(--surface); }
.btn--lg { height: 52px; padding: 0 28px; font-size: 1rem; }

/* ---- nav ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px clamp(16px, 4vw, 40px);
  background: rgba(14, 16, 20, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { border-radius: 9px; }
.brand__name { font-weight: 800; font-size: 1.1rem; letter-spacing: -0.02em; }
.nav__links { display: flex; gap: 26px; margin-left: 18px; }
.nav__links a { color: var(--muted); font-size: 0.9375rem; font-weight: 500; }
.nav__links a:hover { color: var(--text); }
.nav__actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }

.lang { display: inline-flex; background: var(--surface); border-radius: 999px; padding: 3px; border: 1px solid var(--hairline); }
.lang__btn {
  border: none; background: none; color: var(--muted);
  font-family: var(--font); font-weight: 700; font-size: 0.8rem;
  padding: 5px 11px; border-radius: 999px; cursor: pointer;
}
.lang__btn.is-active { background: var(--primary); color: var(--primary-ink); }

/* ---- hero ---- */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(40px, 8vw, 90px) clamp(16px, 4vw, 40px) clamp(30px, 5vw, 60px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(24px, 5vw, 60px);
  align-items: center;
}
.hero__copy .eyebrow { margin-bottom: 14px; }
.hero h1 { font-size: clamp(2.1rem, 5.5vw, 3.6rem); margin-bottom: 18px; }
.hero__sub { color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.15rem); max-width: 34ch; margin-bottom: 28px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.hero__trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.hero__trust li { color: var(--faint); font-size: 0.875rem; font-weight: 500; }

.hero__art { position: relative; display: flex; justify-content: center; }
.glow {
  position: absolute; inset: 0; z-index: 0; margin: auto;
  width: 62%; height: 62%; border-radius: 50%;
  background: radial-gradient(circle, rgba(199, 249, 76, 0.28), transparent 68%);
  filter: blur(38px);
}

/* ---- phone frame ---- */
.phone {
  position: relative; z-index: 1;
  width: min(300px, 78vw);
  border-radius: 40px;
  padding: 9px;
  background: linear-gradient(160deg, #23272f, #14161b);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.phone > img { border-radius: 32px; width: 100%; }
.phone--sm { width: min(250px, 70vw); border-radius: 34px; padding: 7px; margin: 0; }
.phone--sm > img { border-radius: 28px; }

/* ---- features ---- */
.features, .screens, .why { max-width: var(--max); margin: 0 auto; padding: clamp(50px, 8vw, 90px) clamp(16px, 4vw, 40px); }
.features > h2 { margin-bottom: 40px; }
.eyebrow.center { display: block; margin-bottom: 10px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 24px 22px;
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(199, 249, 76, 0.35); background: var(--surface-2); }
.card__ico {
  width: 46px; height: 46px; border-radius: 12px;
  background: rgba(199, 249, 76, 0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 14px;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.9375rem; }

/* ---- screens ---- */
.screens { text-align: center; }
.screens > h2 { margin-bottom: 40px; }
.screens__row { display: flex; justify-content: center; gap: clamp(16px, 4vw, 44px); flex-wrap: wrap; }
.screens figure { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.screens figcaption { color: var(--muted); font-size: 0.9375rem; font-weight: 600; }

/* ---- why ---- */
.why > h2 { margin-bottom: 40px; }
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.why__item {
  display: flex; flex-direction: column; gap: 8px;
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--radius); padding: 22px;
}
.why__k { font-weight: 800; font-size: 1.05rem; color: var(--primary); }
.why__v { color: var(--muted); font-size: 0.9rem; }

/* ---- cta ---- */
.cta {
  max-width: var(--max); margin: 0 auto clamp(40px, 6vw, 70px);
  text-align: center;
  background: linear-gradient(150deg, rgba(199, 249, 76, 0.14), rgba(199, 249, 76, 0.03));
  border: 1px solid rgba(199, 249, 76, 0.25);
  border-radius: 28px;
  padding: clamp(40px, 6vw, 64px) 24px;
}
.cta h2 { margin-bottom: 10px; }
.cta p { color: var(--muted); margin-bottom: 24px; }

/* ---- footer ---- */
.footer {
  border-top: 1px solid var(--hairline);
  padding: 40px clamp(16px, 4vw, 40px);
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.footer__brand { display: flex; align-items: center; gap: 9px; font-weight: 800; }
.footer__note { color: var(--muted); font-size: 0.9rem; }
.footer__copy { color: var(--faint); font-size: 0.85rem; }
.footer__copy a { color: var(--muted); }
.footer__copy a:hover { color: var(--primary); }

/* ---- responsive ---- */
@media (max-width: 860px) {
  .nav__links { display: none; }
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 40px; }
  .hero__copy .eyebrow { margin-inline: auto; }
  .hero__sub { margin-inline: auto; }
  .hero__cta, .hero__trust { justify-content: center; }
  .hero__art { order: -1; }
  .grid { grid-template-columns: 1fr 1fr; }
  .why__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .grid { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; }
  /* keep the app / sign-in button visible on phones, just compact */
  .nav { gap: 10px; padding-left: 14px; padding-right: 14px; }
  .nav__actions { gap: 8px; }
  .nav__actions .btn--primary { height: 40px; padding: 0 15px; font-size: 0.85rem; }
  .brand__name { font-size: 1rem; }
  .lang__btn { padding: 5px 9px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
  .btn, .card { transition: none; }
}

.footer__links { display: flex; gap: 20px; margin: 2px 0 2px; }
.footer__links a { color: var(--muted); font-size: 0.875rem; font-weight: 600; }
.footer__links a:hover { color: var(--primary); }

/* ---- screens: horizontal swipe slider on mobile ---- */
.screens__hint { display: none; margin-top: 14px; color: var(--faint); font-size: 0.8rem; text-align: center; }
@media (max-width: 720px) {
  .screens__row {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding: 6px clamp(16px, 4vw, 40px);
    margin: 0 calc(-1 * clamp(16px, 4vw, 40px));
    scrollbar-width: none;
  }
  .screens__row::-webkit-scrollbar { display: none; }
  .screens figure { flex: 0 0 auto; scroll-snap-align: center; }
  .phone--sm { width: 74vw; max-width: 300px; }
  .screens__hint { display: block; }
}
