:root{
  --bg: #f6f8fb;
  --card: #ffffff;
  --soft: #eef3ff;
  --text: #0f172a;
  --muted: #475569;
  --muted2: #64748b;
  --line: #e2e8f0;
  --accent: #2563eb;   /* blue */
  --accent2:#16a34a;   /* green */
  --accent3:#7c3aed;   /* purple */
  --shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  --radius: 16px;
  --radius2: 22px;
  --container: 1120px;
  --pad: 16px;
}

*{ box-sizing:border-box; }
html, body{ height:100%; }
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 70%);
  color: var(--text);
  line-height: 1.55;
}

a{ color: inherit; text-decoration:none; }
a:hover{ text-decoration: underline; text-underline-offset: 3px; }

.container{
  width: min(var(--container), calc(100% - 2*var(--pad)));
  margin: 0 auto;
}

/* Topbar */
.topbar{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 12px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap: 12px;
}
.brand__mark{
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display:grid;
  place-items:center;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #0ea5e9);
  box-shadow: 0 10px 25px rgba(37,99,235,0.22);
}
.brand__name{ font-weight: 900; letter-spacing: -0.2px; }
.brand__tag{ font-size: 12px; color: var(--muted2); margin-top: 2px; }

/* Logo */
.brand--logo{ gap: 0; }
.brand__logo{
  width: 225px;
  height: 60px;
  object-fit: contain;
  display: block;
}
@media (max-width: 420px){
  .brand__logo{ width: 170px; height: auto; } /* better on small phones */
}

.nav--desktop{
  display:flex;
  align-items:center;
  gap: 16px;
}
.nav--desktop a{
  font-size: 14px;
  color: var(--muted);
}
.nav--desktop a:hover{ color: var(--text); text-decoration:none; }

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(37,99,235,0.25);
  background: var(--accent);
  color: #fff !important;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(37,99,235,0.18);
}
.btn:hover{ text-decoration:none; filter: brightness(1.02); }
.btn--ghost{
  background: #fff;
  color: var(--accent) !important; /* ✅ override .btn white */
  border: 1px solid rgba(37,99,235,0.22);
  box-shadow: var(--shadow);
}
.btn--sm{
  padding: 10px 12px;
  font-size: 13px;
}

/* Make topbar CTA look consistent */
.nav--desktop .btn{
  padding: 10px 12px;
  border-radius: 12px;
}

/* Mobile menu button */
.navbtn{
  display:none;
  align-items:center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
  cursor: pointer;
}
.navbtn__icon{
  width: 18px;
  height: 12px;
  position: relative;
  display:block;
}
.navbtn__icon::before,
.navbtn__icon::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  height:2px;
  background: var(--text);
  border-radius: 2px;
}
.navbtn__icon::before{ top:0; box-shadow: 0 5px 0 var(--text), 0 10px 0 var(--text); }
.navbtn__text{ font-weight: 800; color: var(--text); font-size: 14px; }

/* Mobile drawer */
.mnav{
  border-top: 1px solid var(--line);
  background: #fff;
}
.mnav__inner{
  padding: 10px 0 14px;
  display:flex;
  flex-direction: column;
  gap: 8px;
}
.mnav__link{
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  font-weight: 700;
}
.mnav__link:hover{ text-decoration:none; background: #f8fafc; }
.mnav__cta{
  border-color: rgba(37,99,235,0.22);
  background: rgba(37,99,235,0.06);
  color: var(--accent);
}

/* Hero */
.hero{
  padding: 34px 0 24px;
}
.hero__grid{
  display:grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items:start;
}
.pill{
  display:inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(37,99,235,0.08);
  border: 1px solid rgba(37,99,235,0.12);
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 12px;
}

h1{
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.6px;
}
.accent{
  color: var(--accent);
}
.lead{
  margin: 0 0 16px;
  font-size: 16px;
  color: var(--muted);
  max-width: 72ch;
}
.hero__cta{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.hero__trust{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}
.trust__item{
  display:flex;
  align-items:center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  box-shadow: var(--shadow);
}
.dot{
  width: 10px;
  height: 10px;
  border-radius: 99px;
  display:inline-block;
}
.dot--green{ background: #22c55e; }
.dot--red{ background: #ef4444; }
.dot--blue{ background: #3b82f6; }
.dot--purple{ background: #a78bfa; }

/* Sections */
.section{
  padding: 38px 0;
}
.section--soft{
  background: var(--soft);
  border-top: 1px solid rgba(37,99,235,0.10);
  border-bottom: 1px solid rgba(37,99,235,0.10);
}
.section--cta{
  background: linear-gradient(180deg, #ffffff 0%, rgba(37,99,235,0.06) 100%);
  border-top: 1px solid rgba(37,99,235,0.10);
}

.head{
  margin-bottom: 14px;
}
h2{
  margin: 0 0 8px;
  font-size: clamp(20px, 2.7vw, 30px);
  letter-spacing: -0.3px;
}
.head p{
  margin:0;
  color: var(--muted);
  max-width: 80ch;
}

/* Grids */
.grid{
  display:grid;
  gap: 12px;
}
.grid--3{
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid--4{
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Cards / boxes */
.card, .box, .tile{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card{
  padding: 16px;
}
.card--lite{
  background: #ffffff;
}
.card__title{
  font-weight: 900;
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}
.smallnote{
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted2);
}

.box{
  padding: 16px;
}
.box h3{
  margin: 0 0 6px;
  font-size: 16px;
  letter-spacing: -0.1px;
}
.box p{
  margin:0;
  color: var(--muted);
}

/* Tiles */
.tile{
  padding: 16px;
  display:flex;
  flex-direction: column;
  gap: 8px;
}
.tile:hover{
  text-decoration:none;
  transform: translateY(-1px);
  transition: transform 120ms ease;
}
.tile__icon{
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display:grid;
  place-items:center;
  background: rgba(37,99,235,0.08);
  border: 1px solid rgba(37,99,235,0.12);
  font-size: 18px;
}
.tile__title{
  font-weight: 900;
  letter-spacing: -0.2px;
}
.tile__text{
  color: var(--muted);
  font-size: 14px;
}

/* Checks */
.checks{
  list-style:none;
  padding: 0;
  margin: 0;
}
.checks li{
  display:flex;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid #f1f5f9;
  color: var(--muted);
}
.checks li:last-child{ border-bottom: 0; }
.check{
  width: 22px;
  height: 22px;
  border-radius: 8px;
  display:grid;
  place-items:center;
  background: rgba(22,163,74,0.10);
  border: 1px solid rgba(22,163,74,0.22);
  color: var(--accent2);
  font-weight: 900;
  flex: 0 0 auto;
}

/* Steps */
.steps{
  display:grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.step{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
}
.step__num{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display:grid;
  place-items:center;
  background: rgba(124,58,237,0.10);
  border: 1px solid rgba(124,58,237,0.18);
  color: var(--accent3);
  font-weight: 900;
  margin-bottom: 10px;
}
.step__title{
  font-weight: 900;
  margin-bottom: 6px;
  letter-spacing: -0.2px;
}
.step__text{
  margin:0;
  color: var(--muted);
}

/* Focus strip */
.focus{
  margin-top: 16px;
  background: #fff;
  border: 1px solid rgba(37,99,235,0.14);
  border-left: 6px solid rgba(37,99,235,0.55);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px 16px;
}
.focus__title{
  font-weight: 900;
  margin-bottom: 4px;
  letter-spacing: -0.2px;
}
.focus__text{
  color: var(--muted);
}

/* CTA */
.cta{
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
  align-items: stretch;
}
.cta__left p{
  color: var(--muted);
  max-width: 78ch;
}
.cta__actions{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.cta__fine{
  margin-top: 12px;
  color: var(--muted2);
  font-size: 13px;
}

/* Footer */
.footer{
  padding: 22px 0 14px;
  border-top: 1px solid var(--line);
  background: #fff;
}
.footer__inner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.fbrand__name{
  font-weight: 900;
  letter-spacing: -0.2px;
}
.fbrand__tag{
  font-size: 12px;
  color: var(--muted2);
  margin-top: 4px;
}
.flinks{
  display:flex;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--muted);
}
.flinks a:hover{ color: var(--text); text-decoration:none; }
.footer__bottom{
  margin-top: 10px;
  color: var(--muted2);
  font-size: 12px;
}

/* Screenshot rows (inside modules) */
.shotrow{
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
  margin-top: 14px;
  align-items: stretch;
}
.shotcard{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px;
}
.shotcard h3{
  margin: 0 0 6px;
  font-size: 16px;
  letter-spacing: -0.1px;
}
.shotcard p{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.sshot{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.sshot img{
  display:block;
  width: 100%;
  height: auto;
}
.sshot .cap{
  padding: 10px 12px;
  border-top: 1px solid var(--line);
  color: var(--muted2);
  font-size: 12px;
}

/* Responsive */
@media (max-width: 980px){
  .nav--desktop{ display:none; }
  .navbtn{ display:inline-flex; }

  .hero__grid{ grid-template-columns: 1fr; }
  .grid--4{ grid-template-columns: 1fr; }
  .grid--3{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: 1fr; }
  .cta{ grid-template-columns: 1fr; }
  .shotrow{ grid-template-columns: 1fr; }
}
