:root {
  --green: #176b57;
  --green-dim: #0f4a3c;
  --green-bright: #6ee7b7;
  --orange: #e4935c;
  --ink: #17352f;
  --muted: #60736c;
  --line: #e4eae5;
  --pale: #f5f7f3;
  --surface: #ffffff;
  /* The pro section is a deliberate, fixed dark card regardless of light/dark mode — the same
     "always-dark hero" convention the app itself uses — so it needs its own on-dark tokens. */
  --dark-ink: #17352f;
  --dark-pale: #101c18;
  --dark-surface: #17251f;
  --dark-text: #e7f1ec;
  --dark-muted: #9fb6ac;
  --dark-line: #2b3f38;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e7f1ec;
    --muted: #9fb6ac;
    --line: #2b3f38;
    --pale: #101c18;
    --surface: #17251f;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--pale);
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  color: inherit;
}

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
}

/* ---- header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--pale) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 17px;
  color: var(--ink);
}

.brand .mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  flex-shrink: 0;
}

/* ---- buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn-small {
  padding: 10px 18px;
  font-size: 14px;
  border-radius: 12px;
}

.btn-primary {
  background: var(--green);
  color: #fff;
}

.btn-light {
  background: #fff;
  color: var(--dark-ink);
}

/* ---- hero ---- */
.hero-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 64px 20px;
}

.hero-inner.reverse {
  flex-direction: row-reverse;
}

.hero-copy {
  flex: 1 1 420px;
  min-width: 0;
}

.hero-copy h1,
.hero-copy h2 {
  font-size: 40px;
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin: 0 0 16px;
}

.lede {
  font-size: 17px;
  line-height: 1.55;
  margin: 0 0 28px;
  max-width: 46ch;
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-art {
  flex: 1 1 320px;
  min-width: 0;
  display: flex;
  justify-content: center;
}

/* Customer hero: a loose ring of the app's own category icons — the same set a customer sees
   on Explore, so the marketing page and the product feel like one thing. */
.icon-orbit {
  position: relative;
  width: 280px;
  height: 280px;
}

.icon-orbit .material-symbols-outlined {
  position: absolute;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 12px 24px -12px rgba(23, 53, 47, 0.25);
}

.icon-orbit span:nth-child(1) { top: 0; left: 40%; }
.icon-orbit span:nth-child(2) { top: 30%; left: 0; }
.icon-orbit span:nth-child(3) { top: 30%; right: 0; }
.icon-orbit span:nth-child(4) { bottom: 10%; left: 12%; }
.icon-orbit span:nth-child(5) { bottom: 0; right: 14%; }

/* Pro hero: always the same dark ink card regardless of light/dark mode, matching the app's own
   fixed-dark hero convention — a deliberate brand moment, not something that should fade into
   whatever the visitor's system theme happens to be. */
.hero-pro {
  background: var(--dark-ink);
  color: var(--dark-text);
}

.hero-pro .lede {
  color: color-mix(in srgb, var(--dark-text) 78%, transparent);
}

.hero-pro .steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  max-width: 360px;
}

.hero-pro .steps li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.step-num {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--dark-text) 14%, transparent);
  color: var(--green-bright);
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-pro .steps strong {
  display: block;
  font-size: 16px;
  margin-bottom: 3px;
}

.hero-pro .steps span {
  color: color-mix(in srgb, var(--dark-text) 68%, transparent);
  font-size: 14px;
}

/* Example earning potential — a highlight, not a chart, since there's no real trend data to
   plot yet; two clear numbers do the job of showing what joining could look like. */
.earning-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 22px 0 8px;
}

.earning-stat {
  display: flex;
  align-items: center;
  gap: 10px;
  background: color-mix(in srgb, var(--dark-text) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--dark-text) 16%, transparent);
  border-radius: 16px;
  padding: 12px 18px;
}

.earning-stat .material-symbols-outlined {
  color: var(--green-bright);
  font-size: 26px;
}

.earning-stat strong {
  display: block;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.earning-stat small {
  display: block;
  font-size: 12px;
  color: color-mix(in srgb, var(--dark-text) 68%, transparent);
}

.fine-print {
  font-size: 12px;
  color: color-mix(in srgb, var(--dark-text) 55%, transparent);
  margin: 0 0 20px;
  max-width: 40ch;
}

/* ---- stats ---- */
.stats {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 48px;
  padding: 36px 20px;
  text-align: center;
}

.stat-value {
  display: block;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--green);
}

.stat-label {
  display: block;
  margin-top: 4px;
  font-size: 13.5px;
  color: var(--muted);
  font-weight: 600;
}

/* ---- testimonials ---- */
.testimonials {
  padding: 72px 20px;
}

.testimonials h2 {
  text-align: center;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 32px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}

.testimonial-stars {
  color: var(--orange);
  font-size: 14px;
  margin-bottom: 10px;
}

.testimonial-quote {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.55;
}

.testimonial-name {
  font-weight: 700;
  font-size: 14px;
}

.testimonial-role {
  color: var(--muted);
  font-size: 13px;
}

/* ---- download ---- */
.download {
  background: var(--green);
  color: #fff;
}

.download-inner {
  text-align: center;
  padding: 72px 20px;
}

.download h2 {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}

.download .lede {
  margin: 0 auto 32px;
  color: rgba(255, 255, 255, 0.82);
}

.store-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.store-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 14px;
  padding: 12px 20px;
  text-decoration: none;
  color: #fff;
}

.store-badge small {
  display: block;
  font-size: 11px;
  opacity: 0.85;
}

.store-badge strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
}

/* ---- footer ---- */
.site-footer {
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  padding: 24px 20px;
  color: var(--muted);
  font-size: 13.5px;
}

.footer-inner nav {
  display: flex;
  gap: 18px;
}

.footer-inner a {
  color: var(--muted);
  text-decoration: underline;
}

@media (max-width: 860px) {
  .hero-inner,
  .hero-inner.reverse {
    flex-direction: column;
    text-align: center;
    padding: 48px 20px;
  }
  .cta-row {
    justify-content: center;
  }
  .lede {
    max-width: none;
  }
  .hero-copy h1,
  .hero-copy h2 {
    font-size: 30px;
  }
  .hero-pro .steps {
    max-width: none;
    text-align: left;
  }
  .earning-row {
    justify-content: center;
  }
  .fine-print {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }
}
