:root {
  --green: #2e7d32;
  --green-dark: #1b5e20;
  --green-light: #e8f5e9;
  --green-mint: #f0faf0;
  --green-mid: #e0efe1;
  --green-deep: #b8d8ba;
  --green-soft: #dcedc8;
  --blue: #1565c0;
  --blue-light: #e3f2fd;
  --bg: #f7fbf7;
  --surface: #ffffff;
  --text: #1a1a1a;
  --muted: #5f6368;
  --border: #e0e0e0;
  --radius: 16px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  --max: 1120px;
  --nav-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: 88px 0;
}

.section-label,
.section-eyebrow {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 12px;
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  font-weight: 700;
}

.section-lead {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 640px;
  margin: 0 0 40px;
  line-height: 1.65;
}

.section-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.section-intro .section-lead {
  margin-inline: auto;
  margin-bottom: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 4px 14px rgba(46, 125, 50, 0.35);
}

.btn-primary:hover {
  background: var(--green-dark);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-blue {
  background: var(--blue);
  color: #fff;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  align-items: center;
}

.store-badge {
  display: inline-block;
  line-height: 0;
  transition: transform 0.15s, opacity 0.15s;
}

.store-badge:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.store-badge img {
  display: block;
  height: 40px;
  width: auto;
}

.store-badge--play img {
  height: 60px;
}

.store-badge--soon {
  opacity: 0.45;
  filter: grayscale(1);
  cursor: default;
  pointer-events: none;
}

.store-badge--soon:hover {
  transform: none;
  opacity: 0.45;
}

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(240, 250, 240, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-color: var(--border);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
}

.logo img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  padding: 10px 18px;
  font-size: 0.875rem;
}

.nav-links a.btn-primary,
.nav-links a.btn-primary:hover {
  color: #fff;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  border-radius: 1px;
}

/* Hero - mint green gradient */
.hero {
  padding-top: calc(var(--nav-h) + 64px);
  padding-bottom: 88px;
  background: linear-gradient(
    165deg,
    var(--green-mint) 0%,
    var(--green-light) 42%,
    var(--green-soft) 100%
  );
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
}

.hero-accent {
  color: var(--green);
}

.hero-eyebrow {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin: 0 0 16px;
}

.hero-cta {
  margin-top: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 4px;
}

.hero-tagline {
  font-size: 1.2rem;
  color: var(--muted);
  margin: 0 0 32px;
  max-width: 480px;
}

.device-frame {
  background: #0a0a0a;
  border-radius: 32px;
  padding: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
  border: 1px solid #2a2a2a;
  max-width: 300px;
  margin-inline: auto;
}

.device-frame img,
.showcase-phones img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  border: 1px solid #1a1a1a;
}

/* Check list (showcase blocks) */
.check-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.check-list li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  font-weight: 500;
}

.check-list li::before {
  content: "✓";
  color: var(--green);
  font-weight: 700;
}

/* One app for the whole job - pale mint band */
.whole-job {
  background: var(--green-mint);
}

.whole-job-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.whole-job .section-title {
  margin-bottom: 20px;
  font-size: clamp(2rem, 4.5vw, 2.75rem);
}

.whole-job-lead {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 520px;
}

.whole-job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.whole-job-tag {
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  background: var(--surface);
  border: 1px solid var(--border);
}

.whole-job-tag--green {
  color: var(--green);
  border-color: rgba(46, 125, 50, 0.35);
}

.whole-job-tag--blue {
  color: var(--blue);
  border-color: rgba(21, 101, 192, 0.35);
}

.loss-card {
  background: #1a3d22;
  border-radius: 20px;
  padding: 40px 36px;
  color: #fff;
  text-align: center;
  box-shadow: 0 16px 48px rgba(26, 61, 34, 0.28);
}

.loss-card-amount {
  font-size: clamp(3.25rem, 9vw, 5.5rem);
  font-weight: 700;
  color: #c8e6c9;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
  text-align: center;
}

.loss-card p {
  margin: 0 0 28px;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.loss-bar {
  height: 10px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  overflow: hidden;
}

.loss-bar-fill {
  height: 100%;
  width: 85%;
  background: #a5d6a7;
  border-radius: 999px;
}

/* Screenshots showcase - soft green gradient */
.screenshots {
  background: linear-gradient(180deg, var(--bg) 0%, var(--green-light) 100%);
}

.showcase-block:nth-child(even) {
  background: rgba(255, 255, 255, 0.78);
  border-radius: 24px;
  padding: 48px 20px;
  margin-inline: -16px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 24px rgba(46, 125, 50, 0.06);
}

.showcase-block:nth-child(even):first-child {
  margin-top: 0;
}

.showcase-block + .showcase-block:nth-child(even) {
  border-top: none;
  padding-top: 48px;
}

.showcase-block + .showcase-block {
  padding-top: 72px;
  border-top: 1px solid rgba(46, 125, 50, 0.12);
}

.showcase-block:nth-child(even) + .showcase-block,
.showcase-block + .showcase-block:nth-child(even) {
  border-top: none;
}

.showcase {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.showcase-block {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding: 36px 0;
}

.showcase-block--reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.showcase-block:first-child {
  padding-top: 0;
}

.showcase-block:last-child {
  padding-bottom: 0;
}

.showcase-block--reverse .showcase-copy {
  order: 2;
}

.showcase-block--reverse .showcase-phones {
  order: 1;
}

.showcase-copy {
  text-align: center;
  padding-inline: 4px;
  hyphens: none;
}

.showcase-heading {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 10px;
}

.showcase-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  font-weight: 600;
  color: var(--green-dark);
  margin: 0 0 14px;
  line-height: 1.35;
}

.showcase-copy > p:not(.showcase-subtitle) {
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 100%;
  hyphens: none;
  text-wrap: pretty;
}

.showcase-copy .check-list {
  max-width: 480px;
  margin-inline: auto;
  text-align: left;
}

.showcase-phones {
  display: flex;
  justify-content: center;
  align-items: center;
}

.showcase-phones--duo {
  position: relative;
  min-height: 420px;
}

.showcase-phones--duo .device-frame:first-child {
  position: relative;
  z-index: 2;
}

.showcase-phones--duo .device-frame--back {
  position: absolute;
  right: 0;
  top: 48px;
  max-width: 260px;
  transform: scale(0.96);
  opacity: 0.92;
}

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* How it works - light grey band */
#how {
  background: linear-gradient(180deg, #fafafa 0%, #f5f5f5 100%);
}

.step {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.step--1 {
  background: var(--green-mint);
  border-color: rgba(46, 125, 50, 0.22);
}

.step--2 {
  background: var(--green-mid);
  border-color: rgba(46, 125, 50, 0.28);
}

.step--3 {
  background: var(--green-deep);
  border-color: rgba(27, 94, 32, 0.3);
}

.step-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.step--2 .step-num {
  background: var(--green);
}

.step--3 .step-num {
  background: var(--green-dark);
}

.step h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.25;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Pricing - blue gradient band */
.pricing {
  background: linear-gradient(180deg, var(--surface) 0%, var(--blue-light) 55%, #bbdefb 100%);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.price-card {
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.price-card--starter {
  background: var(--green-mint);
  border-color: rgba(46, 125, 50, 0.22);
}

.price-card--basic {
  background: var(--green-mid);
  border-color: var(--green);
}

.price-card--team {
  background: var(--green-deep);
  border-color: rgba(27, 94, 32, 0.32);
}

.price-card.featured {
  box-shadow: 0 12px 40px rgba(46, 125, 50, 0.15);
  position: relative;
}

.price-card-head {
  text-align: center;
  margin-bottom: 24px;
}

.price-card.featured::before {
  content: "Most popular";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: 999px;
}

.price-tier {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 0 0 8px;
}

.price-card h3 {
  margin: 0 0 8px;
  font-size: 1.5rem;
}

.price-amount {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 12px;
}

.price-amount span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
}

.price-desc {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
  max-width: 260px;
  margin-inline: auto;
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  flex: 1;
}

.price-features li {
  padding: 8px 0;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  gap: 8px;
}

.price-card .btn {
  align-self: center;
  width: 100%;
}

.price-features li::before {
  content: "✓";
  color: var(--green);
  font-weight: 700;
}

/* About - green gradient band */
.about {
  background: linear-gradient(180deg, var(--green-light) 0%, var(--green-mint) 50%, var(--surface) 100%);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-grid > div:first-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.about-grid > div:first-child .btn-blue {
  align-self: center;
}

.about-lead {
  margin-bottom: 24px;
}

.about-copy {
  color: var(--muted);
  margin: 0 0 28px;
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 520px;
}

.footer-tagline {
  margin-top: 12px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #ccc;
}

/* Legal pages */
.legal-page {
  padding: calc(var(--nav-h) + 48px) 0 88px;
  background: var(--bg);
}

.legal-content {
  max-width: 720px;
  margin: 0 auto;
}

.legal-back {
  display: inline-block;
  margin-bottom: 24px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--green);
}

.legal-back:hover {
  color: var(--green-dark);
}

.legal-content h1 {
  margin: 0 0 8px;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  line-height: 1.2;
}

.legal-intro {
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 0.95rem;
}

.legal-content h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.25rem;
  line-height: 1.3;
}

.legal-content h3 {
  margin: 1.25rem 0 0.5rem;
  font-size: 1.05rem;
  line-height: 1.35;
}

.legal-content p {
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.7;
}

.legal-content ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  color: var(--muted);
  line-height: 1.7;
}

.legal-content li {
  margin-bottom: 0.35rem;
}

.legal-content a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content a:hover {
  color: var(--green-dark);
}

.legal-contact {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

/* Footer */
.footer {
  background: #111;
  color: #ccc;
  padding: 56px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer .logo {
  color: #fff;
  margin-bottom: 12px;
}

.footer p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer h4 {
  color: #fff;
  margin: 0 0 16px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-product {
  display: flex;
  justify-content: center;
}

.footer-product-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-product h4 {
  text-align: center;
}

.footer-product-links {
  display: grid;
  grid-template-columns: max-content max-content;
  gap: 10px 32px;
  text-align: left;
}

.footer-product-links li {
  margin-bottom: 0;
}

.footer li {
  margin-bottom: 10px;
}

.footer a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 24px;
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* Mobile nav */
@media (max-width: 900px) {
  .hero-grid,
  .whole-job-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .showcase-block,
  .steps,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .showcase-block--reverse .showcase-copy,
  .showcase-block--reverse .showcase-phones {
    order: unset;
  }

  .showcase {
    gap: 0;
  }

  .showcase-block + .showcase-block {
    padding-top: 56px;
  }

  .showcase-phones--duo {
    min-height: 0;
    flex-direction: column;
    gap: 16px;
  }

  .showcase-phones--duo .device-frame--back {
    position: static;
    transform: none;
    opacity: 1;
    max-width: 280px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--surface);
    padding: 20px;
    border-bottom: 1px solid var(--border);
    gap: 16px;
  }

  .nav-links.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    text-align: center;
  }

  .hero-tagline {
    margin-inline: auto;
  }

  #download,
  .hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 280px;
  }

  .store-badges {
    justify-content: center;
  }

  .showcase-block:nth-child(even) {
    margin-inline: 0;
    padding: 32px 20px;
  }

  .device-frame {
    max-width: 320px;
    margin-inline: auto;
  }
}
