:root {
  --green-500: #2ba32c;
  --green-700: #1b4d3e;
  --green-900: #0f3329;
  --green-tint: #e7efec;
  --blue-500: #0538ff;
  --blue-700: #0d428a;
  --orange-500: #ff8c21;
  --yellow-400: #ffe040;
  --ink: #14181a;
  --muted: #5b6167;
  --faint: #8a9a95;
  --line: #e6ebe8;
  --white: #ffffff;
  --bg: #fbfdfc;

  --gradient-brand: linear-gradient(135deg, var(--green-500), var(--green-700));
  --shadow-card: 0 4px 20px -6px rgba(27, 77, 62, 0.14), 0 0 0 1px rgba(0, 0, 0, 0.03);
  --shadow-cta: 0 10px 24px -8px rgba(27, 77, 62, 0.45);

  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --container: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

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

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 253, 252, 0.85);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
}
.brand img { width: 34px; height: 34px; }
.brand small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 15px;
  font-weight: 500;
}
.nav-links a { text-decoration: none; color: var(--muted); transition: color .15s ease; }
.nav-links a:hover { color: var(--green-700); }
.nav-cta {
  background: var(--gradient-brand);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: var(--shadow-cta);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--gradient-brand);
  color: var(--white);
  box-shadow: var(--shadow-cta);
}
.btn-primary:hover { box-shadow: 0 14px 28px -8px rgba(27, 77, 62, 0.55); }
.btn-ghost {
  background: var(--white);
  color: var(--green-700);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--green-500); }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--gradient-brand);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  color: var(--white);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 50% at 85% 10%, rgba(255, 224, 64, 0.18), transparent 60%),
              radial-gradient(50% 40% at 10% 90%, rgba(5, 56, 255, 0.18), transparent 60%);
  pointer-events: none;
}
.hero .wrap {
  position: relative;
  padding: 88px 24px 96px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--yellow-400);
}
.hero h1 {
  font-size: 48px;
  line-height: 1.08;
  font-weight: 700;
  margin: 0 0 20px;
  letter-spacing: -0.01em;
}
.hero p.lede {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.86);
  max-width: 480px;
  margin: 0 0 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-actions .btn-ghost { background: rgba(255,255,255,0.12); color: var(--white); border-color: rgba(255,255,255,0.25); }
.hero-actions .btn-primary { background: var(--white); color: var(--green-700); box-shadow: 0 10px 24px -8px rgba(0,0,0,0.25); }

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
}
.hero-stats div strong { display: block; font-size: 22px; font-weight: 700; }
.hero-stats div span { font-size: 13px; color: rgba(255, 255, 255, 0.72); }

.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(6px);
  max-width: 340px;
  width: 100%;
}
.phone-card img { border-radius: var(--radius-md); width: 100%; }
.phone-card .caption {
  margin-top: 18px;
  color: var(--white);
  font-size: 14px;
  line-height: 1.5;
  opacity: 0.85;
}

/* Sections */
section { padding: 88px 0; }
.section-head { max-width: 620px; margin: 0 auto 56px; text-align: center; }
.kicker {
  color: var(--green-700);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-head h2 { font-size: 34px; margin: 0 0 12px; letter-spacing: -0.01em; }
.section-head p { color: var(--muted); font-size: 17px; line-height: 1.6; margin: 0; }

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
}
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  background: var(--green-tint);
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-card h3 { font-size: 19px; margin: 0 0 10px; }
.feature-card p { color: var(--muted); font-size: 15px; line-height: 1.6; margin: 0; }

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 32px 28px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.step .num {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--gradient-brand);
  color: var(--white);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.step h3 { font-size: 17px; margin: 0 0 8px; }
.step p { color: var(--muted); font-size: 14.5px; line-height: 1.6; margin: 0; }

/* Early access */
.early-access {
  background: var(--green-900);
  background: linear-gradient(160deg, var(--green-900), var(--green-700));
  border-radius: var(--radius-lg);
  color: var(--white);
  overflow: hidden;
  position: relative;
}
.early-access::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 60% at 90% 0%, rgba(43, 163, 44, 0.35), transparent 60%);
  pointer-events: none;
}
.ea-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  padding: 64px;
  align-items: center;
}
.ea-copy .kicker { color: var(--yellow-400); }
.ea-copy h2 { font-size: 32px; margin: 0 0 16px; letter-spacing: -0.01em; }
.ea-copy p { color: rgba(255, 255, 255, 0.78); font-size: 16px; line-height: 1.65; margin: 0 0 24px; }
.ea-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ea-list li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: rgba(255, 255, 255, 0.85); }
.ea-list li::before {
  content: "";
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--yellow-400);
  flex-shrink: 0;
}

.form-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px;
  color: var(--ink);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.35);
}
.form-card h3 { margin: 0 0 6px; font-size: 20px; }
.form-card .sub { color: var(--muted); font-size: 14px; margin: 0 0 24px; }

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fafcfb;
  color: var(--ink);
  outline: none;
  transition: border-color .15s ease, background .15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--green-500);
  background: var(--white);
}
.field textarea { resize: vertical; min-height: 110px; }
.field .err {
  display: none;
  color: #d1453b;
  font-size: 12.5px;
  margin-top: 6px;
}
.field.invalid input,
.field.invalid select,
.field.invalid textarea { border-color: #d1453b; }
.field.invalid .err { display: block; }

.form-status {
  margin-top: 16px;
  font-size: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  display: none;
}
.form-status.show { display: block; }
.form-status.ok { background: var(--green-tint); color: var(--green-700); }
.form-status.error { background: #fdeceb; color: #d1453b; }

/* Footer */
footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand p { color: var(--muted); font-size: 14.5px; line-height: 1.6; max-width: 300px; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--faint); margin: 0 0 16px; }
.footer-col a { display: block; color: var(--muted); text-decoration: none; font-size: 14.5px; margin-bottom: 12px; }
.footer-col a:hover { color: var(--green-700); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 13.5px;
  flex-wrap: wrap;
  gap: 12px;
}

/* Simple content pages (privacy/terms/contact) */
.page-hero {
  background: var(--gradient-brand);
  color: var(--white);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  padding: 64px 0 56px;
}
.page-hero .wrap { max-width: 760px; }
.page-hero h1 { font-size: 38px; margin: 0 0 12px; letter-spacing: -0.01em; }
.page-hero p { color: rgba(255,255,255,0.85); font-size: 16px; margin: 0; }

.content {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 96px;
  line-height: 1.75;
  color: var(--ink);
  font-size: 16px;
}
.content h2 { font-size: 22px; margin: 40px 0 14px; letter-spacing: -0.01em; }
.content h2:first-child { margin-top: 0; }
.content p { color: #3c4245; margin: 0 0 16px; }
.content ul { color: #3c4245; padding-left: 20px; margin: 0 0 16px; }
.content li { margin-bottom: 8px; }
.content .updated { color: var(--faint); font-size: 14px; margin-bottom: 8px; }

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 72px 24px 96px;
  align-items: start;
}
.contact-info h2 { font-size: 26px; margin: 0 0 14px; }
.contact-info p { color: var(--muted); font-size: 16px; line-height: 1.65; margin: 0 0 28px; }
.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.contact-item:first-of-type { border-top: none; }
.contact-item .icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--green-tint);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-item strong { display: block; font-size: 14px; margin-bottom: 2px; }
.contact-item span, .contact-item a { color: var(--muted); font-size: 14.5px; text-decoration: none; }
.contact-item a:hover { color: var(--green-700); }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 56px; }
  .hero h1 { font-size: 36px; }
  .hero-art { order: -1; }
  .feature-grid, .steps { grid-template-columns: 1fr; }
  .ea-inner { grid-template-columns: 1fr; padding: 40px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .contact-grid { grid-template-columns: 1fr; padding-top: 48px; }
  .nav-links { display: none; }
}
