:root {
  --brand-green: #2e9e5b;
  --brand-orange: #f2902c;
  --ink: #1c2024;
  --muted: #5b6470;
  --bg: #ffffff;
  --bg-soft: #f5f7f5;
  --card: #ffffff;
  --border: #e6e9e6;
  --max: 760px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f2f4f3;
    --muted: #a4adb6;
    --bg: #0f1311;
    --bg-soft: #161b18;
    --card: #161b18;
    --border: #283029;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand-green); }

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

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); text-decoration: none; }
.brand .mark {
  width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(135deg, var(--brand-green), var(--brand-orange));
  display: grid; place-items: center; color: #fff; font-size: 16px;
}
.nav a { color: var(--muted); text-decoration: none; margin-left: 18px; font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--ink); }

/* Hero */
.hero {
  background: linear-gradient(135deg, rgba(46,158,91,0.10), rgba(242,144,44,0.10));
  border-bottom: 1px solid var(--border);
  padding: 72px 0 64px;
  text-align: center;
}
.hero .badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--border);
  font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 22px;
}
.hero h1 { font-size: clamp(32px, 6vw, 52px); line-height: 1.08; margin: 0 0 16px; letter-spacing: -0.02em; }
.hero p { font-size: clamp(17px, 2.4vw, 20px); color: var(--muted); max-width: 540px; margin: 0 auto 28px; }

.cta {
  display: inline-block; padding: 14px 26px; border-radius: 14px;
  background: linear-gradient(135deg, var(--brand-green), var(--brand-orange));
  color: #fff; font-weight: 700; text-decoration: none; font-size: 16px;
  box-shadow: 0 8px 24px rgba(46,158,91,0.25);
}
.cta:hover { opacity: 0.94; }

/* Features */
.features { padding: 64px 0; }
.features h2 { text-align: center; font-size: 28px; margin: 0 0 8px; }
.features .sub { text-align: center; color: var(--muted); margin: 0 0 40px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.feature {
  background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 22px;
}
.feature .ico {
  width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(46,158,91,0.16), rgba(242,144,44,0.16));
  font-size: 20px; margin-bottom: 14px;
}
.feature h3 { margin: 0 0 6px; font-size: 17px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

/* Legal / content pages */
.doc { padding: 48px 0 72px; }
.doc h1 { font-size: 34px; margin: 0 0 6px; letter-spacing: -0.02em; }
.doc .eff { color: var(--muted); font-size: 15px; margin: 0 0 32px; }
.doc h2 { font-size: 21px; margin: 36px 0 10px; }
.doc h3 { font-size: 17px; margin: 24px 0 6px; }
.doc p, .doc li { color: var(--ink); font-size: 16px; }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 8px; }
.callout {
  background: var(--bg-soft); border: 1px solid var(--border);
  border-left: 4px solid var(--brand-orange);
  border-radius: 12px; padding: 16px 18px; margin: 22px 0;
}
.callout p { margin: 0; }
.toc {
  background: var(--bg-soft); border: 1px solid var(--border); border-radius: 12px;
  padding: 8px 18px; margin: 0 0 28px; font-size: 15px;
}

/* Hero — split layout with phone visual */
.hero-split { text-align: left; padding: 64px 0 56px; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center;
  max-width: 980px;
}
.hero-split .hero-copy p { margin: 0 0 26px; max-width: none; }
.cta-row { display: flex; align-items: center; gap: 16px; margin-bottom: 10px; }
.appstore-badge { display: inline-block; line-height: 0; border-radius: 10px; transition: transform 0.15s ease; }
.appstore-badge:hover { transform: scale(1.03); }
.fine { font-size: 13px !important; color: var(--muted) !important; margin: 0 !important; }
.fine.center { text-align: center; margin-top: 22px !important; }

.hero-visual { display: flex; justify-content: center; }
.phone {
  position: relative; width: 260px; border-radius: 42px; padding: 10px;
  background: #1a1f1c; box-shadow: 0 24px 64px rgba(0,0,0,0.35), inset 0 0 0 2px #2c332e;
}
.phone-notch {
  position: absolute; top: 22px; left: 50%; transform: translateX(-50%);
  width: 84px; height: 24px; border-radius: 12px; background: #0b0e0c; z-index: 2;
}
.phone-screen { display: block; width: 100%; border-radius: 32px; aspect-ratio: 280 / 560; }

@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-split { text-align: center; }
  .cta-row { justify-content: center; }
  .phone { width: 220px; }
}

/* Steps */
.steps { padding: 64px 0 8px; }
.steps h2 { text-align: center; font-size: 28px; margin: 0 0 32px; }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.step { text-align: center; padding: 10px 14px; }
.step-num {
  width: 40px; height: 40px; border-radius: 50%; margin: 0 auto 12px;
  display: grid; place-items: center; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--brand-green), var(--brand-orange));
}
.step h3 { margin: 0 0 6px; font-size: 17px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* Pricing */
.pricing { padding: 64px 0; background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.pricing h2 { text-align: center; font-size: 28px; margin: 0 0 8px; }
.pricing .sub { text-align: center; color: var(--muted); margin: 0 0 36px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; max-width: 720px; margin: 0 auto; }
.plan {
  position: relative; background: var(--card); border: 1px solid var(--border);
  border-radius: 18px; padding: 26px 24px;
}
.plan-featured { border: 2px solid var(--brand-green); box-shadow: 0 12px 32px rgba(46,158,91,0.14); }
.plan-flag {
  position: absolute; top: -12px; left: 24px; padding: 3px 12px; border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-green), var(--brand-orange));
  color: #fff; font-size: 11px; font-weight: 800; letter-spacing: 0.08em;
}
.plan h3 { margin: 0 0 10px; font-size: 19px; }
.plan .price { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; }
.plan .price span { font-size: 15px; font-weight: 600; color: var(--muted); }
.plan .price-alt { color: var(--muted); font-size: 14px; margin-top: 2px; }
.plan ul { padding-left: 0; list-style: none; margin: 18px 0 0; }
.plan li { padding-left: 26px; position: relative; margin-bottom: 10px; font-size: 15px; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--brand-green); font-weight: 800; }

/* FAQ */
.faq { padding: 64px 0; max-width: 760px; margin: 0 auto; }
.faq h2 { text-align: center; font-size: 28px; margin: 0 0 28px; }
.faq details {
  background: var(--card); border: 1px solid var(--border); border-radius: 14px;
  padding: 16px 20px; margin-bottom: 12px;
}
.faq summary { font-weight: 650; cursor: pointer; font-size: 16px; }
.faq details p { color: var(--muted); font-size: 15px; margin: 12px 0 2px; }

/* Final CTA */
.cta-final { text-align: center; padding: 72px 0; }
.cta-final h2 { font-size: clamp(24px, 4vw, 34px); margin: 0 0 24px; letter-spacing: -0.02em; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-soft); padding: 36px 0; margin-top: 24px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; }
.site-footer .links a { color: var(--muted); text-decoration: none; margin-right: 18px; font-size: 15px; }
.site-footer .links a:hover { color: var(--ink); }
.site-footer .copy { color: var(--muted); font-size: 14px; }
