:root {
  --bg: #f8f9ff;
  --surface: #ffffff;
  --tint: #eef4ff;
  --mint: #e6f6ef;
  --text: #0b1c30;
  --body: #24324a;
  --muted: #565e74;
  --primary: #006948;
  --primary-dark: #00513a;
  --accent: #f59e0b;
  --border: #e2e9f7;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(11, 28, 48, 0.04), 0 8px 24px rgba(11, 28, 48, 0.06);
  --wrap: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 'Plus Jakarta Sans', -apple-system, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); }
p, li { color: var(--body); }
h1, h2, h3 { color: var(--text); letter-spacing: -0.02em; line-height: 1.2; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.muted { color: var(--muted); font-size: 14px; }
.eyebrow { color: var(--primary); font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 10px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(248, 249, 255, 0.88);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 20px; }
.brand img { width: 34px; height: 34px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; align-items: center; }
.nav-links a { color: var(--body); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: var(--primary); }
.nav-links .btn { color: #fff; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--text); }
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--primary);
  color: #fff;
  padding: 12px 22px;
  border-radius: 12px;
  border: 0;
  text-decoration: none;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}
.btn:hover { background: var(--primary-dark); }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: var(--surface); color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { background: var(--tint); }
.btn-store { background: var(--text); padding: 10px 20px; }
.btn-store:hover { background: #1c2f48; }
.btn-store svg { width: 22px; height: 22px; flex: none; }
.btn-store span { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.btn-store small { font-size: 11px; font-weight: 500; opacity: 0.8; }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 40px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(34px, 5vw, 54px); margin: 0 0 18px; font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--primary); }
.hero .lead { font-size: 18px; max-width: 560px; margin: 0 0 28px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note { margin-top: 18px; }
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-visual::before {
  content: '';
  position: absolute;
  inset: 8% -10% 4%;
  background: radial-gradient(closest-side, #bfeedd, transparent 70%), radial-gradient(closest-side at 80% 20%, #fde7b8, transparent 60%);
  z-index: 0;
}
.phone {
  position: relative;
  z-index: 1;
  width: 290px;
  border-radius: 34px;
  padding: 9px;
  background: #0b1c30;
  box-shadow: 0 30px 60px rgba(11, 28, 48, 0.22);
}
.phone img { border-radius: 26px; aspect-ratio: 9 / 16; object-fit: cover; width: 100%; }
.phone-back { position: absolute; z-index: 0; width: 240px; transform: translate(-58%, 34px) rotate(-7deg); opacity: 0.95; }

/* ---------- Strip ---------- */
.strip { border-block: 1px solid var(--border); background: var(--surface); }
.strip ul { list-style: none; margin: 0; padding: 18px 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; }
.strip li { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--text); }
.strip li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }

/* ---------- Sections ---------- */
section.block { padding: 84px 0; }
section.alt { background: var(--surface); border-block: 1px solid var(--border); }
.section-head { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 38px); margin: 0 0 12px; }
.section-head p { margin: 0; font-size: 17px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
section.alt .feature { background: var(--bg); }
.feature h3 { font-size: 18px; margin: 14px 0 6px; }
.feature p { margin: 0; font-size: 15px; }
.icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--mint); color: var(--primary); }
.icon svg { width: 24px; height: 24px; }

/* Bahi Khata */
.hero-pill { display: inline-flex; align-items: center; gap: 6px; background: var(--mint); color: var(--primary-dark); border: 1px solid rgba(0, 105, 72, 0.18); border-radius: 999px; padding: 7px 14px; font-size: 14px; font-weight: 600; margin: 0 0 16px; text-decoration: none; }
.hero-pill:hover { background: #d9f3e6; }
.khata { background: var(--mint); border-bottom: 1px solid var(--border); padding: 36px 0; }
.khata-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.khata .eyebrow { margin-bottom: 6px; }
.khata h2 { font-size: clamp(24px, 3vw, 32px); margin: 0 0 4px; }
.khata-sub { margin: 0; color: var(--muted); }
.khata-total { background: linear-gradient(135deg, #006948, #00805a); color: #fff; border-radius: 18px; padding: 16px 22px; display: grid; }
.khata-total small { color: #d7f5e9; font-size: 13px; }
.khata-total strong { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; }

/* Screenshot rail */
.rail { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 20px 20px; margin: 0 -20px; }
.rail figure { flex: 0 0 220px; margin: 0; scroll-snap-align: start; }
.rail img { border-radius: 22px; border: 1px solid var(--border); box-shadow: var(--shadow); aspect-ratio: 9 / 16; object-fit: cover; width: 100%; background: var(--tint); }
.rail figcaption { text-align: center; font-weight: 700; font-size: 14px; margin-top: 12px; }

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 56px; }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
}
.step h3 { font-size: 19px; margin: 0 0 6px; }
.step p { margin: 0; }

/* Pricing */
.billing-toggle { display: inline-flex; background: var(--tint); border-radius: 999px; padding: 4px; margin: 0 auto 36px; }
.billing-toggle button { border: 0; background: none; font: inherit; font-weight: 700; padding: 8px 18px; border-radius: 999px; cursor: pointer; color: var(--muted); }
.billing-toggle button[aria-pressed='true'] { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.billing-toggle .save { color: var(--primary); font-size: 12px; margin-left: 4px; }
.center { text-align: center; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 26px; }
.plan.popular { border: 2px solid var(--primary); box-shadow: 0 18px 40px rgba(0, 105, 72, 0.12); }
.badge { position: absolute; top: -13px; left: 26px; background: var(--primary); color: #fff; font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: 999px; letter-spacing: 0.04em; }
.plan h3 { margin: 0; font-size: 20px; }
.plan .tagline { margin: 4px 0 18px; font-size: 14px; color: var(--muted); }
.price { font-size: 38px; font-weight: 800; letter-spacing: -0.03em; color: var(--text); }
.price small { font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.price-note { min-height: 22px; font-size: 13px; color: var(--muted); margin: 2px 0 20px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; flex: 1; }
.plan li { position: relative; padding-left: 28px; margin: 10px 0; font-size: 15px; }
.plan li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23006948' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.plan .btn { width: 100%; }
.pricing-foot { text-align: center; margin-top: 28px; }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 0 22px; margin-bottom: 12px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 28px 18px 0; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 14px; font-size: 24px; font-weight: 400; color: var(--primary); }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 0 0 18px; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, #006948, #00805a); color: #fff; border-radius: 28px; padding: 56px 40px; text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(26px, 3.4vw, 36px); margin: 0 0 12px; }
.cta-band p { color: #d7f5e9; margin: 0 auto 26px; max-width: 560px; font-size: 17px; }
.cta-band .cta-row { justify-content: center; }
.cta-band .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.cta-band .btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }

/* ---------- Document pages (privacy, terms, ...) ---------- */
.page { padding: 56px 0 80px; }
.page h1 { font-size: clamp(30px, 4vw, 40px); margin: 0 0 8px; }
.page h2 { font-size: 21px; margin: 36px 0 8px; }
.page ul, .page ol { padding-left: 22px; }
.page li { margin: 6px 0; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 26px; margin: 20px 0; }
.card h2:first-child, .card h3:first-child { margin-top: 0; }
.toc { font-size: 15px; }
.toc ol { margin: 0; columns: 2; column-gap: 32px; }
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.contact-grid .card { margin: 0; }
.contact-grid h2 { font-size: 19px; }

/* ---------- Footer ---------- */
.site-footer { background: #0b1c30; color: #b7c2d6; padding: 56px 0 32px; margin-top: 0; }
.site-footer p, .site-footer li { color: #b7c2d6; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.site-footer .brand { color: #fff; }
.site-footer h4 { color: #fff; font-size: 14px; margin: 4px 0 14px; letter-spacing: 0.04em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 8px 0; font-size: 15px; }
.site-footer a { color: #b7c2d6; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #22344f; margin-top: 40px; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero .lead { margin-inline: auto; }
  .cta-row { justify-content: center; }
  .phone-back { display: none; }
  .grid-3, .plans { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 8px 20px 18px;
  }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav-links .btn { margin-top: 12px; border: 0; }
  .site-header.open .nav-links { display: flex; }
  .hero { padding-top: 40px; }
  .phone { width: 240px; }
  section.block { padding: 60px 0; }
  .grid-3, .plans, .contact-grid { grid-template-columns: 1fr; }
  .plans { gap: 28px; }
  .toc ol { columns: 1; }
  .cta-band { padding: 40px 22px; border-radius: 22px; }
  .footer-grid { grid-template-columns: 1fr; }
}
