/* ===== Base ===== */
html, body { margin: 0; padding: 0; background: #ffffff; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, 'Helvetica Neue', system-ui, sans-serif;
  color: #111827;
}
a { color: #16a34a; }
a:hover { color: #0f7d39; }

.container { max-width: 1120px; margin: 0 auto; padding-left: 28px; padding-right: 28px; }
.green { color: #16a34a; }

h1 { font-size: 54px; font-weight: 800; letter-spacing: -.025em; line-height: 1.06; margin: 22px 0 0; }
h2 { font-size: 36px; font-weight: 800; letter-spacing: -.02em; margin: 12px 0 0; line-height: 1.15; }
.h2-narrow { max-width: 560px; }

.section { padding-top: 76px; padding-bottom: 76px; }
.kicker { font-size: 13px; font-weight: 800; color: #16a34a; letter-spacing: .1em; }
.band-light { background: #f5f6f8; border-top: 1px solid #eceef1; border-bottom: 1px solid #eceef1; }
.band-dark { background: #111827; }

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #f0f1f3;
}
.nav-inner { height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; }
.brand-name { font-size: 18px; font-weight: 800; letter-spacing: -.01em; color: #111827; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-link { font-size: 14.5px; font-weight: 600; color: #3a4150; text-decoration: none; }
.nav-link:hover { color: #111827; }
.btn-nav {
  display: inline-flex; align-items: center; height: 40px; padding: 0 20px;
  border-radius: 12px; background: #16a34a; color: #fff;
  font-size: 14.5px; font-weight: 700; text-decoration: none; white-space: nowrap;
}
.btn-nav:hover { background: #0f7d39; color: #fff; }

/* ===== Hero ===== */
.hero { padding-top: 76px; padding-bottom: 84px; display: flex; align-items: center; gap: 64px; flex-wrap: wrap; }
.hero-copy { flex: 1 1 380px; min-width: 0; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: #f6faf7; border: 1px solid #cdeed8; border-radius: 16px;
  padding: 6px 14px; font-size: 13px; font-weight: 700; color: #16a34a;
}
.hero-sub { font-size: 19px; color: #6b7280; line-height: 1.55; margin: 20px 0 0; max-width: 480px; }
.hero-cta { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.appstore-badge {
  display: inline-flex; align-items: center; gap: 9px; height: 54px; padding: 0 22px;
  border-radius: 14px; background: #111827; color: #fff; text-decoration: none;
}
.appstore-badge:hover { background: #1f2937; color: #fff; }
.appstore-text { text-align: left; line-height: 1.15; }
.appstore-small { display: block; font-size: 10.5px; font-weight: 500; opacity: .8; }
.appstore-big { display: block; font-size: 17px; font-weight: 700; }
.hero-note { display: flex; align-items: center; gap: 16px; margin-top: 14px; flex-wrap: wrap; }
.muted-note { font-size: 13.5px; color: #9aa3af; }
.see-pricing { font-size: 13.5px; font-weight: 700; color: #16a34a; text-decoration: none; }

/* ===== Phone mockup (app Home screen) ===== */
.phone-wrap { flex: none; width: 340px; max-width: 100%; }
.phone {
  width: 340px; height: 690px; max-width: 100%; background: #0b0b0c; border-radius: 46px; padding: 11px;
  box-shadow: 0 34px 70px -22px rgba(0,0,0,.4);
}
.phone-screen {
  background: #fff; border-radius: 36px; overflow: hidden;
  height: 100%; display: flex; flex-direction: column;
}

/* iOS status bar */
.ps-statusbar {
  flex: none; display: flex; align-items: center; justify-content: space-between;
  padding: 15px 26px 4px;
}
.ps-time { font-size: 14px; font-weight: 700; color: #111827; letter-spacing: .02em; }
.ps-status-icons { display: flex; align-items: center; gap: 6px; }

/* screen body */
.ps-body { flex: 1; min-height: 0; padding: 10px 20px 0; overflow: hidden; }
.ps-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.ps-header-left { min-width: 0; }
.ps-greeting { font-size: 18px; font-weight: 700; color: #111827; letter-spacing: -.01em; }
.ps-address { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; color: #9aa3af; margin-top: 3px; }
.ps-header-btns { display: flex; gap: 8px; flex: none; }
.ps-emergency, .ps-bell {
  position: relative; width: 34px; height: 34px; border-radius: 17px;
  display: flex; align-items: center; justify-content: center;
}
.ps-emergency { border: 1px solid #f7d4d4; background: #fef2f2; }
.ps-bell { border: 1px solid #eef0f2; background: #fff; }
.ps-bell-dot {
  position: absolute; top: 7px; right: 8px; width: 7px; height: 7px;
  border-radius: 4px; background: #ef4444; border: 1.5px solid #fff;
}

.ps-score-label { text-align: center; font-size: 11px; font-weight: 600; color: #8a94a3; margin-top: 14px; letter-spacing: .04em; }
.ps-ring { position: relative; width: 132px; height: 132px; margin: 6px auto 0; }
.ps-ring-center {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.ps-score { font-size: 36px; font-weight: 700; color: #111827; line-height: 1; }
.ps-of { font-size: 11px; color: #9aa3af; margin-top: 2px; }
.ps-boost-row { display: flex; justify-content: center; margin-top: 9px; }
.ps-boost { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 700; color: #16a34a; }
.ps-seehow { color: #9aa3af; font-weight: 600; }

/* stats row */
.ps-stats {
  display: flex; align-items: stretch; margin-top: 16px; padding: 13px 0;
  border-top: 1px solid #eef0f2; border-bottom: 1px solid #eef0f2;
}
.ps-stat { flex: 1; text-align: center; }
.ps-stat-num { font-size: 17px; font-weight: 700; color: #111827; }
.ps-stat-label { font-size: 10px; color: #9aa3af; margin-top: 2px; }
.ps-stat-divider { width: 1px; background: #eef0f2; }

/* up next */
.ps-section-row { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; }
.ps-section-label { font-size: 12.5px; font-weight: 600; color: #6b7280; }
.ps-seeall { font-size: 11px; font-weight: 600; color: #16a34a; }
.ps-task {
  display: flex; align-items: center; gap: 10px; background: #fff;
  border: 1px solid #eef0f2; border-radius: 12px; padding: 11px 12px; margin-top: 10px;
}
.ps-task-danger { border-color: #f7d4d4; }
.ps-checkbox { width: 19px; height: 19px; flex: none; border-radius: 6px; border: 2px solid #d4d8de; }
.ps-task-text { flex: 1; }
.ps-task-title { font-size: 12.5px; font-weight: 600; color: #111827; }
.ps-task-meta { font-size: 10.5px; color: #9aa3af; margin-top: 1px; }
.ps-task-meta-danger { color: #ef4444; }

/* systems list */
.ps-sys { display: flex; align-items: center; gap: 11px; padding: 11px 0; border-bottom: 1px solid #f2f3f5; }
.ps-sys-text { flex: 1; min-width: 0; }
.ps-sys-name { font-size: 13px; font-weight: 600; color: #111827; }
.ps-sys-sub { font-size: 10.5px; color: #9aa3af; margin-top: 1px; }
.ps-sys-score { font-size: 14px; font-weight: 700; }
.ps-dot { width: 8px; height: 8px; border-radius: 4px; flex: none; }
.ps-dot-amber { background: #f59e0b; }
.ps-dot-green { background: #16a34a; }
.ps-dot-red { background: #ef4444; }
.ps-sys-score.amber { color: #f59e0b; }
.ps-sys-score.green { color: #16a34a; }
.ps-sys-score.red { color: #ef4444; }

/* bottom tab bar */
.ps-tabbar {
  flex: none; display: flex; align-items: center;
  border-top: 1px solid #eef0f2; background: #fff; padding: 9px 4px 14px;
}
.ps-tab { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.ps-tab-label { font-size: 9px; font-weight: 600; color: #9aa3af; }
.ps-tab-active .ps-tab-label { color: #16a34a; }

/* ===== Cards (features / steps / who) ===== */
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 18px; margin-top: 44px;
}
.steps-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 18px; margin-top: 40px;
}
.who-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 18px; margin-top: 40px;
}
.card { background: #fff; border: 1px solid #e8eaee; border-radius: 18px; padding: 26px; }
.card-plain { background: transparent; }
.card-link { display: block; text-decoration: none; color: #111827; }
.card-link:hover { border-color: #cdeed8; color: #111827; }
.icon-tile { width: 46px; height: 46px; border-radius: 13px; display: flex; align-items: center; justify-content: center; }
.tint-green { background: #eafaf0; }
.tint-amber { background: #fff5e6; }
.tint-red { background: #fef2f2; }
.card-title { font-size: 18px; font-weight: 700; margin-top: 16px; }
.card-plain .card-title { margin-top: 10px; }
.card-body { font-size: 14.5px; color: #6b7280; line-height: 1.55; margin-top: 8px; }
.card-cta { font-size: 14px; font-weight: 700; color: #16a34a; margin-top: 14px; }
.step-num { font-size: 14px; font-weight: 800; color: #16a34a; }

/* ===== Stat band ===== */
.stat-section { padding-top: 64px; padding-bottom: 64px; }
.stat-heading { font-size: 30px; font-weight: 800; letter-spacing: -.02em; margin: 0; color: #fff; max-width: 620px; line-height: 1.2; }
.stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 18px; margin-top: 40px;
}
.stat { border-left: 3px solid #22c55e; padding-left: 20px; }
.stat-num { font-size: 36px; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.stat-label { font-size: 14px; color: #aeb6bd; margin-top: 6px; line-height: 1.45; }
.stat-cta-row { display: flex; align-items: center; gap: 16px; margin-top: 40px; flex-wrap: wrap; }
.btn-stat {
  display: inline-flex; align-items: center; height: 50px; padding: 0 24px;
  border-radius: 13px; background: #22c55e; color: #0f1211;
  font-size: 15px; font-weight: 800; text-decoration: none;
}
.btn-stat:hover { background: #16a34a; color: #0f1211; }
.stat-note { font-size: 13.5px; color: #8a929a; }

/* ===== Pricing ===== */
.pricing-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 18px; margin-top: 44px; align-items: stretch;
}
.plan { background: #fff; border: 1px solid #e8eaee; border-radius: 20px; padding: 30px; display: flex; flex-direction: column; }
.plan-featured {
  border: 2px solid #16a34a; position: relative;
  box-shadow: 0 18px 40px -20px rgba(22,163,74,.25);
}
.plan-flag {
  position: absolute; top: -12px; left: 30px; background: #16a34a; color: #fff;
  font-size: 11px; font-weight: 800; letter-spacing: .06em; padding: 5px 12px; border-radius: 8px;
}
.plan-dark { background: #111827; border-color: #111827; color: #fff; }
.plan-name { font-size: 16px; font-weight: 800; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin-top: 12px; }
.plan-amount { font-size: 42px; font-weight: 800; letter-spacing: -.02em; }
.plan-period { font-size: 15px; color: #9aa3af; font-weight: 600; }
.plan-sub { font-size: 13.5px; color: #9aa3af; margin-top: 4px; }
.plan-features { display: flex; flex-direction: column; gap: 11px; margin-top: 22px; flex: 1; }
.plan-feature { display: flex; gap: 9px; font-size: 14px; color: #3a4150; }
.plan-feature-dark { color: #d3d8de; }
.check { flex: none; margin-top: 1px; }
.btn-plan {
  display: flex; align-items: center; justify-content: center; height: 48px;
  border-radius: 13px; font-size: 15px; font-weight: 700; text-decoration: none; margin-top: 26px;
}
.btn-plan-outline { border: 1.5px solid #cdeed8; color: #16a34a; }
.btn-plan-outline:hover { border-color: #16a34a; color: #16a34a; }
.btn-plan-solid { background: #16a34a; color: #fff; }
.btn-plan-solid:hover { background: #0f7d39; color: #fff; }
.btn-plan-white { background: #fff; color: #111827; }
.btn-plan-white:hover { background: #e8eaee; color: #111827; }

/* ===== FAQ ===== */
.faq-section { padding-bottom: 8px; }
.faq-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr));
  gap: 16px; margin-top: 36px;
}
.faq-card { border: 1px solid #e8eaee; border-radius: 16px; padding: 22px 24px; }
.faq-q { font-size: 16px; font-weight: 700; }
.faq-a { font-size: 14.5px; color: #6b7280; line-height: 1.55; margin-top: 8px; }

/* ===== Final CTA ===== */
.cta-section { padding-top: 84px; padding-bottom: 84px; }
.cta-panel {
  position: relative; overflow: hidden;
  background: #16a34a;
  border-radius: 26px; padding: 60px 32px; text-align: center; color: #fff;
}
.cta-bg-img {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  display: block;
}
.cta-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(120% 100% at 50% 100%, rgba(15,125,57,.35), rgba(15,125,57,0) 60%),
    linear-gradient(135deg, rgba(22,163,74,.9), rgba(15,125,57,.92));
}
.cta-content { position: relative; z-index: 2; }
.cta-heading { font-size: 34px; font-weight: 800; letter-spacing: -.02em; margin: 0; }
.cta-sub { font-size: 16px; opacity: .9; margin-top: 12px; }
.cta-btn-row { display: flex; justify-content: center; gap: 12px; margin-top: 28px; flex-wrap: wrap; }

/* ===== Footer ===== */
.footer { border-top: 1px solid #f0f1f3; }
.footer-inner {
  padding-top: 30px; padding-bottom: 30px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 8px; }
.footer-name { font-size: 14px; font-weight: 700; color: #111827; }
.footer-links { display: flex; gap: 22px; }
.footer-link { font-size: 13px; color: #9aa3af; text-decoration: none; }
.footer-link:hover { color: #6b7280; }
.footer-copy { font-size: 13px; color: #c2c7cf; }

/* ===== Home image band ===== */
.home-band-wrap { padding-top: 8px; padding-bottom: 8px; }
.home-band {
  position: relative; width: 100%; height: 420px;
  border-radius: 24px; overflow: hidden;
}
.home-band-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center; display: block;
}
.home-band-overlay {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to right, rgba(15,18,17,.62) 0%, rgba(15,18,17,0) 75%);
}
.home-band-text {
  position: absolute; left: 0; bottom: 0; pointer-events: none;
  padding: 40px; max-width: 620px; color: #fff;
}
.home-band-heading {
  font-size: 32px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15;
  margin: 0; color: #fff;
}
.home-band-sub {
  font-size: 16px; line-height: 1.55; margin: 14px 0 0; color: #fff; opacity: .92;
  max-width: 480px;
}

/* ===== Legal document pages ===== */
.legal { max-width: 760px; padding-top: 60px; padding-bottom: 80px; }
.legal-title { font-size: 40px; font-weight: 800; letter-spacing: -.02em; margin: 0; line-height: 1.1; }
.legal-updated { font-size: 13.5px; color: #9aa3af; margin-top: 12px; }
.legal-intro { font-size: 16px; color: #6b7280; line-height: 1.65; margin-top: 22px; }
.legal-section { margin-top: 34px; }
.legal-section h2 { font-size: 20px; font-weight: 700; letter-spacing: -.01em; margin: 0 0 10px; }
.legal-section p { font-size: 15.5px; color: #6b7280; line-height: 1.65; margin: 0 0 10px; }
.legal-section ul { margin: 0; padding-left: 0; list-style: none; }
.legal-section li {
  position: relative; padding-left: 20px; font-size: 15.5px; color: #6b7280;
  line-height: 1.6; margin-bottom: 9px;
}
.legal-section li::before {
  content: ""; position: absolute; left: 2px; top: 9px;
  width: 6px; height: 6px; border-radius: 3px; background: #16a34a;
}
.legal-disclaimer {
  background: #f5f6f8; border: 1px solid #e8eaee; border-radius: 14px;
  padding: 18px 20px; margin-top: 40px;
  font-size: 13px; color: #9aa3af; line-height: 1.55;
}

/* ===== Responsive ===== */
@media (max-width: 760px) {
  .legal { padding-top: 40px; padding-bottom: 56px; }
  .legal-title { font-size: 30px; }
  .nav-link { display: none; }
  .btn-nav { padding: 0 14px; font-size: 13.5px; height: 38px; }
  .container { padding-left: 20px; padding-right: 20px; }
  .hero { padding-top: 48px; padding-bottom: 56px; gap: 44px; }
  h1 { font-size: 38px; }
  h2 { font-size: 28px; }
  .hero-sub { font-size: 17px; }
  .section { padding-top: 56px; padding-bottom: 56px; }
  .stat-section { padding-top: 48px; padding-bottom: 48px; }
  .stat-heading { font-size: 25px; }
  .stat-num { font-size: 30px; }
  .cta-section { padding-top: 56px; padding-bottom: 56px; }
  .cta-panel { padding: 44px 24px; }
  .cta-heading { font-size: 27px; }
  .phone-wrap { margin: 0 auto; }
  .footer-inner { justify-content: center; text-align: center; }
  .home-band { height: 300px; border-radius: 18px; }
  .home-band-text { padding: 24px; }
  .home-band-heading { font-size: 22px; }
  .home-band-sub { font-size: 14px; margin-top: 10px; }
}
