:root {
  --indigo: #4f46e5;
  --indigo-600: #4338ca;
  --indigo-050: #eef0ff;
  --ink: #1b1b24;
  --ink-2: #4b4e63;
  --ink-3: #6b6e82;
  --paper: #f7f7f4;
  --card: #ffffff;
  --line: #e7e7e2;
  --line-2: #ececff;
  --success: #2fa36b;
  --warning: #c98a00;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(27, 27, 36, 0.06), 0 4px 12px rgba(27, 27, 36, 0.05);
  --shadow-md: 0 8px 30px rgba(27, 27, 36, 0.08), 0 2px 8px rgba(27, 27, 36, 0.05);
  --shadow-lg: 0 24px 70px rgba(79, 70, 229, 0.18), 0 8px 24px rgba(27, 27, 36, 0.08);
  --maxw: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    "Inter", sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(180%) blur(14px);
  background: rgba(247, 247, 244, 0.72);
  border-bottom: 1px solid rgba(231, 231, 226, 0.7);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
.brand .mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--indigo), #7c6cf5);
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
}
.brand .mark svg { width: 19px; height: 19px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--ink-2); font-weight: 500; font-size: 15px; transition: color .15s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  background: var(--ink); color: #fff !important; padding: 9px 18px;
  border-radius: 999px; font-weight: 600; font-size: 14px;
  transition: transform .15s, background .15s;
}
.nav-cta:hover { background: var(--indigo); transform: translateY(-1px); }
@media (max-width: 720px) { .nav-links a:not(.nav-cta) { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 84px 0 72px; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(60% 55% at 82% 6%, rgba(124, 108, 245, 0.18), transparent 60%),
    radial-gradient(50% 45% at 8% 20%, rgba(79, 70, 229, 0.12), transparent 55%);
  pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--indigo-050); color: var(--indigo-600);
  border: 1px solid var(--line-2);
  padding: 6px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(47,163,107,.15); }
h1.hero-title {
  font-size: clamp(34px, 5vw, 54px); line-height: 1.05; letter-spacing: -0.03em;
  margin: 22px 0 18px; font-weight: 800;
}
h1.hero-title .grad {
  background: linear-gradient(120deg, var(--indigo), #8b7bff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font-size: 18.5px; color: var(--ink-2); max-width: 30em; margin: 0 0 30px; }
.store-row { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--ink-3); display: flex; align-items: center; gap: 8px; }
.hero-note svg { width: 16px; height: 16px; color: var(--success); }

/* ---------- Store buttons ---------- */
.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--ink); color: #fff; padding: 12px 20px 12px 18px;
  border-radius: 14px; transition: transform .15s, box-shadow .15s, background .2s;
  box-shadow: var(--shadow-sm);
}
.store-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); background: #000; }
.store-btn svg.logo { width: 26px; height: 26px; flex: none; }
.store-btn .s-txt { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.store-btn .s-txt small { font-size: 11px; font-weight: 500; opacity: .82; letter-spacing: .02em; }
.store-btn .s-txt strong { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }

/* ---------- Phone / report mock ---------- */
.mock-stage { position: relative; display: grid; place-items: center; }
.phone {
  position: relative; width: 300px; aspect-ratio: 300 / 620;
  background: #0f0f16; border-radius: 42px; padding: 12px;
  box-shadow: var(--shadow-lg); border: 1px solid #23232e;
}
.phone::after {
  content: ""; position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  width: 116px; height: 26px; background: #0f0f16; border-radius: 0 0 16px 16px; z-index: 3;
}
.screen {
  position: relative; height: 100%; width: 100%; border-radius: 32px; overflow: hidden;
  background: linear-gradient(180deg, #ffffff, #f4f4fb);
  display: flex; flex-direction: column;
}
.screen-top {
  padding: 34px 18px 14px; background: linear-gradient(135deg, var(--indigo), #6d5ef4); color: #fff;
}
.screen-top .kicker { font-size: 11px; opacity: .85; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.screen-top .title { font-size: 19px; font-weight: 700; margin-top: 3px; letter-spacing: -0.01em; }
.chips { display: flex; gap: 7px; margin-top: 12px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.22);
  padding: 4px 9px; border-radius: 999px; font-size: 10.5px; font-weight: 600;
}
.screen-body { padding: 14px; display: flex; flex-direction: column; gap: 11px; overflow: hidden; }
.ba-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ba {
  aspect-ratio: 4/3; border-radius: 10px; position: relative; overflow: hidden;
  border: 1px solid var(--line); display: grid; place-items: end start;
}
.ba.before { background: linear-gradient(135deg, #e9e9f6, #d7d7ea); }
.ba.after { background: linear-gradient(135deg, #dff1e6, #c7e8d5); }
.ba span {
  margin: 6px; font-size: 9px; font-weight: 700; color: #fff;
  background: rgba(27,27,36,.6); padding: 2px 7px; border-radius: 6px;
}
.line-item { display: flex; align-items: center; gap: 9px; font-size: 12px; color: var(--ink-2); }
.tick { width: 17px; height: 17px; border-radius: 5px; background: var(--success); display: grid; place-items: center; flex: none; }
.tick svg { width: 11px; height: 11px; color: #fff; }
.bar { height: 9px; border-radius: 6px; background: #ececf3; }
.bar.w70 { width: 70%; } .bar.w45 { width: 45%; } .bar.w85 { width: 85%; }
.sign-card { margin-top: 2px; border: 1px dashed var(--line); border-radius: 10px; padding: 9px 11px; }
.sign-card .lbl { font-size: 9.5px; color: var(--ink-3); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.sign-card .sig { font-family: "Snell Roundhand", "Segoe Script", cursive; font-size: 22px; color: var(--indigo); margin-top: 2px; }
.badge-float {
  position: absolute; z-index: 4; background: var(--card); border: 1px solid var(--line);
  box-shadow: var(--shadow-md); border-radius: 14px; padding: 10px 13px; display: flex; align-items: center; gap: 10px;
}
.badge-float .ico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: #fff; flex: none; }
.badge-float small { display: block; font-size: 10px; color: var(--ink-3); font-weight: 600; }
.badge-float strong { font-size: 12.5px; letter-spacing: -0.01em; }
.badge-pdf { right: -22px; top: 82px; }
.badge-pdf .ico { background: linear-gradient(135deg, #e5484d, #f2686c); }
.badge-gps { left: -26px; bottom: 96px; }
.badge-gps .ico { background: linear-gradient(135deg, var(--indigo), #7c6cf5); }
@media (max-width: 380px){ .badge-float{ display:none; } }

/* ---------- Sections ---------- */
section.block { padding: 78px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 46px; }
.section-head .eyebrow { margin-bottom: 16px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.03em; margin: 0 0 12px; font-weight: 800; }
.section-head p { font-size: 17.5px; color: var(--ink-2); margin: 0; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s, border-color .18s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-2); }
.feature .fico {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: var(--indigo-050); color: var(--indigo); margin-bottom: 16px;
}
.feature .fico svg { width: 23px; height: 23px; }
.feature h3 { margin: 0 0 7px; font-size: 18px; letter-spacing: -0.02em; }
.feature p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* ---------- Pros band ---------- */
.pros { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pros .wrap { padding-top: 58px; padding-bottom: 58px; text-align: center; }
.pros h2 { font-size: 15px; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-3); font-weight: 700; margin: 0 0 22px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.pill {
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 18px; font-weight: 600; font-size: 15px; color: var(--ink-2);
}

/* ---------- CTA ---------- */
.cta-band { padding: 30px 0 96px; }
.cta-card {
  position: relative; overflow: hidden; border-radius: 30px; text-align: center;
  padding: 66px 28px; color: #fff;
  background: linear-gradient(135deg, var(--indigo) 0%, #6a5bf2 50%, #8b7bff 100%);
  box-shadow: var(--shadow-lg);
}
.cta-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(50% 80% at 15% 0%, rgba(255,255,255,.22), transparent 60%);
}
.cta-card > * { position: relative; z-index: 1; }
.cta-card h2 { font-size: clamp(28px, 4vw, 42px); letter-spacing: -0.03em; margin: 0 0 14px; font-weight: 800; }
.cta-card p { font-size: 18px; opacity: .92; margin: 0 auto 30px; max-width: 30em; }
.cta-card .store-row { justify-content: center; }
.cta-card .store-btn { background: #fff; color: var(--ink); }
.cta-card .store-btn:hover { background: #fff; }

/* ---------- Footer ---------- */
.footer { background: #14141b; color: #b7b8c6; padding: 54px 0 40px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
.footer .brand { color: #fff; }
.footer-tag { margin: 14px 0 0; max-width: 26em; font-size: 14.5px; color: #8a8b9c; }
.footer-links { display: flex; gap: 30px; flex-wrap: wrap; }
.footer-links a { color: #b7b8c6; font-size: 15px; transition: color .15s; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  margin-top: 38px; padding-top: 22px; border-top: 1px solid #26262f;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: 13.5px; color: #77788a;
}

/* ---------- Legal / prose pages ---------- */
.legal { padding: 60px 0 90px; }
.legal .wrap { max-width: 780px; }
.legal .back { display: inline-flex; align-items: center; gap: 7px; color: var(--indigo-600); font-weight: 600; font-size: 14.5px; margin-bottom: 26px; }
.legal .back svg { width: 15px; height: 15px; }
.legal h1 { font-size: clamp(30px, 4.5vw, 44px); letter-spacing: -0.03em; margin: 0 0 8px; font-weight: 800; }
.legal .updated { color: var(--ink-3); font-size: 14.5px; margin: 0 0 34px; }
.legal article {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 40px clamp(22px, 4vw, 48px); box-shadow: var(--shadow-sm);
}
.legal article h2 { font-size: 21px; letter-spacing: -0.02em; margin: 34px 0 10px; }
.legal article h2:first-child { margin-top: 0; }
.legal article h3 { font-size: 16.5px; margin: 22px 0 6px; }
.legal article p, .legal article li { color: var(--ink-2); font-size: 16px; }
.legal article ul { padding-left: 22px; }
.legal article li { margin: 6px 0; }
.legal article a { color: var(--indigo-600); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }
.legal article strong { color: var(--ink); }
.callout {
  background: var(--indigo-050); border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  padding: 16px 20px; margin: 20px 0; color: var(--ink-2); font-size: 15.5px;
}
.callout strong { color: var(--indigo-600); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .mock-stage { order: -1; }
  .features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
  section.block { padding: 60px 0; }
  .hero { padding: 60px 0 50px; }
  .phone { width: 260px; }
}

/* Entrance animation */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(16px); animation: rise .7s cubic-bezier(.2,.7,.2,1) forwards; }
  .reveal.d1 { animation-delay: .06s; } .reveal.d2 { animation-delay: .12s; }
  .reveal.d3 { animation-delay: .18s; } .reveal.d4 { animation-delay: .24s; }
  @keyframes rise { to { opacity: 1; transform: none; } }
}
