:root {
  --olive: #4a5d23;
  --olive-dark: #38460f;
  --olive-light: #eef1e6;
  --ink: #1c1e18;
  --ink-soft: #5b5f52;
  --bg: #ffffff;
  --border: #e7e9df;
  --radius: 16px;
  --max-width: 1120px;
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.brand img {
  height: 28px;
  width: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--olive);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--olive-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(168, 184, 122, 0.35);
}

/* Hero */
.hero {
  padding: 96px 0 80px;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.hero-icon {
  height: 64px;
  width: auto;
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  font-weight: 800;
}

.hero p.subhead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 480px;
  margin: 0 0 32px;
  line-height: 1.6;
}

.badge-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.badge-row img {
  height: 52px;
  width: auto;
}

.phone-mock {
  position: relative;
  justify-self: center;
}

.phone-shape {
  width: 260px;
  height: 540px;
  background: linear-gradient(160deg, var(--olive) 0%, var(--olive-dark) 100%);
  border-radius: 44px;
  position: relative;
  box-shadow: 0 30px 60px -20px rgba(143, 160, 95, 0.55);
  overflow: hidden;
}

.phone-shape::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
}

.phone-shape::after {
  content: "";
  position: absolute;
  inset: 46px 18px 18px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.14);
}

.phone-bolt {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 84px;
  width: auto;
  z-index: 2;
  filter: brightness(0) invert(1) opacity(0.92);
}

/* Features */
.features {
  padding: 88px 0;
  background: var(--olive-light);
}

.section-heading {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 56px;
}

.section-heading h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  font-weight: 800;
}

.section-heading p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: left;
}

.feature-icon {
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 12px;
  background: var(--olive-light);
  color: var(--olive-dark);
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--olive-dark);
  stroke-width: 1.8;
}

.feature-card h3 {
  font-size: 1.05rem;
  margin: 0 0 10px;
  font-weight: 700;
}

.feature-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0;
}

/* CTA */
.cta {
  padding: 96px 0;
  text-align: center;
}

.cta h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 32px;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 36px 0;
}

.footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--ink-soft);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--olive-dark);
}

/* Simple page (privacy/terms) */
.page-hero {
  padding: 72px 0 40px;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
}

.page-content {
  padding: 64px 0;
  min-height: 30vh;
}

.page-content {
  max-width: 760px;
  margin: 0 auto;
}

.page-content .wrap {
  max-width: 100%;
}

.page-content p,
.page-content li {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.page-content p {
  margin: 0 0 20px;
}

.page-content h2 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 48px 0 16px;
}

.page-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 32px 0 14px;
}

.page-content h4 {
  font-size: 1.02rem;
  font-weight: 700;
  margin: 24px 0 10px;
}

.page-content ul {
  margin: 0 0 20px;
  padding-left: 22px;
}

.page-content li {
  margin-bottom: 10px;
}

.page-content li p {
  margin: 0 0 8px;
}

.page-content a {
  color: var(--olive);
  font-weight: 600;
  text-decoration: underline;
}

.page-content .updated {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-bottom: 32px;
}

.eula-box {
  background: var(--olive-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  max-width: 640px;
}

.eula-box a {
  color: var(--olive-dark);
  font-weight: 700;
  text-decoration: underline;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 860px) {
  .hero .wrap {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-icon {
    margin: 0 auto 24px;
  }

  .hero p.subhead {
    margin-left: auto;
    margin-right: auto;
  }

  .badge-row {
    justify-content: center;
  }

  .phone-mock {
    margin-top: 40px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .footer .wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav .wrap {
    height: 68px;
  }

  .btn {
    padding: 10px 18px;
    font-size: 0.88rem;
  }
}
