/* ============================================================
   GoNow landing page
   Theme: matches the Flutter app (Wise design system)
   - Lime CTA, forest accent, warm paper canvas, 8px radius
   - No transitions, no keyframes, no JS animations
   ============================================================ */

:root {
  --bg: #9fe870;          /* lime CTA / "live" */
  --fg: #0e0f0c;          /* near-black foreground */
  --accent: #163300;      /* forest green */
  --canvas: #f3f1ea;      /* warm paper background */
  --surface: #fcfbf7;     /* warm white card surface */
  --muted: #868685;       /* secondary text */
  --border: #8bca62;      /* subtle lime border */
  --danger: #b23a2e;
  --warning: #c77a19;
  --shell: #0e0f0c;       /* dark sections */
  --shell-2: #161812;     /* slightly lighter dark */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --font-display: 'Inter', system-ui, -apple-system, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --container: 1180px;
  --gutter: 24px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }

html {
  font-size: 16px;
  scroll-behavior: auto; /* explicit: no smooth-scroll motion */
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--fg);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------- layout helpers ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: 88px 0;
}
.section--tight { padding: 56px 0; }
.section--shell {
  background: var(--shell);
  color: #fff;
}
.section--canvas { background: var(--canvas); }
.section--surface { background: var(--surface); }

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section--shell .eyebrow { color: var(--bg); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--fg);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  font-weight: 700;
}
.section--shell h1,
.section--shell h2,
.section--shell h3 { color: #fff; }

h1 { font-size: clamp(40px, 6vw, 72px); letter-spacing: -0.035em; }
h2 { font-size: clamp(30px, 4vw, 48px); letter-spacing: -0.025em; }
h3 { font-size: clamp(20px, 2vw, 24px); }

p { margin: 0 0 16px; color: var(--fg); }
.lede {
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--muted);
  line-height: 1.55;
  max-width: 60ch;
}
.section--shell .lede { color: rgba(255, 255, 255, 0.72); }
.lede strong, .lede b { color: var(--fg); font-weight: 600; }
.section--shell .lede strong { color: var(--bg); }

/* ---------- top nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--canvas);
  border-bottom: 1px solid rgba(139, 202, 98, 0.35);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
}
.brand__mark {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 18px;
  border: 1px solid var(--accent);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--fg);
  padding: 6px 0;
}
.nav__links a:hover { color: var(--accent); }

.nav__cta { display: flex; align-items: center; gap: 12px; }

.nav__toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 0;
  position: relative;
}
.nav__toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--fg);
  border-radius: 1px;
}
.nav__toggle span:nth-child(1) { top: 13px; }
.nav__toggle span:nth-child(2) { top: 19px; }
.nav__toggle span:nth-child(3) { top: 25px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn--primary {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}
.btn--primary:hover { background: #1f4500; border-color: #1f4500; }

.btn--lime {
  background: var(--bg);
  color: var(--accent);
  border-color: var(--accent);
}
.btn--lime:hover { background: #b6f08a; }

.btn--ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--fg);
}
.btn--ghost:hover { background: var(--fg); color: var(--canvas); }

.section--shell .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.5); }
.section--shell .btn--ghost:hover { background: #fff; color: var(--fg); }

.btn--lg { padding: 17px 26px; font-size: 16px; }
.btn__icon { width: 16px; height: 16px; }

/* ---------- hero ---------- */
.hero {
  background: var(--canvas);
  padding: 72px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero__copy h1 { margin-top: 12px; }
.hero__copy h1 .accent { color: var(--accent); }
.hero__lede { margin-top: 20px; font-size: 19px; }
.hero__ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.hero__bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin-top: 28px;
  font-size: 14px;
  color: var(--muted);
}
.hero__bullets span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero__bullets span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--accent);
}

/* phone mockup */
.phone {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  background: var(--fg);
  border-radius: 38px;
  padding: 14px;
  border: 1px solid #2a2c28;
  position: relative;
}
.phone__notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 22px;
  background: #000;
  border-radius: 0 0 14px 14px;
  z-index: 2;
}
.phone__screen {
  background: var(--canvas);
  border-radius: 26px;
  overflow: hidden;
  padding: 44px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 580px;
}
.phone__topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--fg);
  margin-top: -22px;
}
.phone__topbar .dots { display: inline-flex; gap: 4px; }
.phone__topbar .dots i {
  width: 8px; height: 8px; border-radius: 50%; background: var(--border);
}

.phone__hero {
  background: var(--bg);
  border-radius: var(--radius-md);
  padding: 16px;
  border: 1px solid var(--accent);
  display: flex;
  gap: 12px;
  align-items: center;
}
.phone__hero .iconbox {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--bg);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 18px;
  flex: none;
}
.phone__hero .copy { flex: 1; min-width: 0; }
.phone__hero .title {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.2;
}
.phone__hero .sub {
  font-size: 11px;
  color: var(--accent);
  opacity: 0.78;
  margin-top: 2px;
}
.phone__hero .pill {
  background: var(--accent);
  color: var(--bg);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: none;
}
.phone__hero .pill i {
  width: 5px; height: 5px; border-radius: 50%; background: var(--bg);
}

.phone__cta {
  background: var(--accent);
  color: var(--bg);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--accent);
}
.phone__cta .bolt {
  width: 22px; height: 22px; border-radius: 6px;
  background: var(--bg); color: var(--accent);
  display: grid; place-items: center; font-size: 13px;
}

.phone__title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 6px 4px 0;
}

.phone__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.phone__btn {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--fg);
  text-align: center;
}
.phone__btn .ic {
  width: 26px; height: 26px; border-radius: 8px;
  background: var(--canvas);
  display: grid; place-items: center;
  color: var(--accent); font-size: 14px;
}
.phone__btn.is-cta {
  background: var(--bg);
  border-color: var(--accent);
  color: var(--accent);
}
.phone__btn.is-cta .ic { background: var(--accent); color: var(--bg); }

.phone__list {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.phone__row {
  display: flex; gap: 10px; align-items: center;
  font-size: 11.5px; color: var(--fg);
}
.phone__row .avatar {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--accent);
  display: grid; place-items: center;
  font-size: 10px; font-weight: 700; color: var(--accent);
  flex: none;
}
.phone__row .name { flex: 1; font-weight: 600; }
.phone__row .stat {
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.06em;
  padding: 3px 7px; border-radius: 4px;
  border: 1px solid var(--border);
  color: var(--accent);
}
.phone__row .stat.is-live { background: var(--bg); }

/* ---------- section heads ---------- */
.section__head {
  max-width: 720px;
  margin-bottom: 48px;
}
.section__head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section__head--center .lede { margin-left: auto; margin-right: auto; }

/* ---------- problem cards ---------- */
.problem {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.problem__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
}
.problem__num {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.problem__card h3 { font-size: 22px; margin-bottom: 10px; }
.problem__card p { color: var(--muted); margin: 0; font-size: 15px; line-height: 1.55; }

/* ---------- how it works (steps) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  position: relative;
}
.step__num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--accent);
  font-weight: 800;
  font-size: 17px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid var(--accent);
}
.step h3 { font-size: 22px; margin-bottom: 8px; }
.step p { color: var(--muted); margin: 0; font-size: 15px; line-height: 1.55; }
.step__demo {
  margin-top: 20px;
  padding: 18px;
  background: var(--canvas);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--fg);
}
.step__demo strong { color: var(--accent); }

/* ---------- features grid ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.feature__ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg);
  color: var(--accent);
  display: grid;
  place-items: center;
  border: 1px solid var(--accent);
}
.feature__ic svg { width: 22px; height: 22px; }
.feature h3 { font-size: 18px; margin: 0; }
.feature p { color: var(--muted); font-size: 14.5px; margin: 0; line-height: 1.55; }
.feature .tag {
  margin-top: auto;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- privacy callout ---------- */
.privacy {
  background: var(--shell);
  border-radius: var(--radius-lg);
  padding: 56px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}
.privacy h2 { font-size: 36px; }
.privacy p { color: rgba(255,255,255,0.75); font-size: 16px; }
.privacy__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.privacy__item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
}
.privacy__item .check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--accent);
  display: grid;
  place-items: center;
  flex: none;
  font-weight: 800;
  font-size: 14px;
}
.privacy__item .body { font-size: 14.5px; color: rgba(255,255,255,0.85); line-height: 1.5; }
.privacy__item .body strong { color: #fff; font-weight: 600; display: block; margin-bottom: 2px; font-size: 15px; }

/* ---------- stats strip ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 40px 48px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.stat__num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 6px;
}
.stat__label {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}

/* ---------- final CTA ---------- */
.cta {
  text-align: center;
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 72px 40px;
  border: 1px solid var(--accent);
}
.cta h2 { color: var(--accent); font-size: 44px; max-width: 16ch; margin: 0 auto 18px; }
.cta p { color: var(--accent); max-width: 52ch; margin: 0 auto 32px; opacity: 0.85; }
.cta__ctas {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* ---------- footer ---------- */
.footer {
  background: var(--shell);
  color: rgba(255,255,255,0.6);
  padding: 56px 0 32px;
  font-size: 14px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer h4 {
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 600;
}
.footer ul li { margin-bottom: 10px; }
.footer a:hover { color: #fff; }
.footer__brand p {
  color: rgba(255,255,255,0.55);
  font-size: 13px;
  margin-top: 12px;
  max-width: 32ch;
  line-height: 1.5;
}
.footer__bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.04em;
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__copy { text-align: left; }
  .phone { max-width: 320px; }
  .privacy { grid-template-columns: 1fr; padding: 40px; gap: 32px; }
  .features, .problem, .steps { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); padding: 32px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  :root { --gutter: 18px; }
  .section { padding: 64px 0; }
  .hero { padding: 48px 0 64px; }
  .nav__inner { height: 60px; }
  .nav__links, .nav__cta .btn--ghost { display: none; }
  .nav__toggle { display: inline-block; }
  .nav.is-open .nav__links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--canvas);
    padding: 18px var(--gutter);
    border-bottom: 1px solid var(--border);
  }
  .nav.is-open .nav__cta .btn--ghost {
    display: inline-flex;
    position: absolute;
    top: 60px;
    right: var(--gutter);
  }
  h1 { font-size: 40px; }
  h2 { font-size: 30px; }
  .features, .problem, .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .privacy { padding: 32px 24px; border-radius: var(--radius-md); }
  .cta { padding: 48px 24px; border-radius: var(--radius-md); }
  .cta h2 { font-size: 30px; }
  .footer__top { grid-template-columns: 1fr; gap: 28px; padding-bottom: 28px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 380px) {
  .stats { grid-template-columns: 1fr; }
  .hero__ctas .btn { flex: 1; }
}

/* ---------- utility ---------- */
.center { text-align: center; }
.muted { color: var(--muted); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}