:root {
  --brand: #045882;
  --brand-dark: #034566;
  --ink: #143246;
  --muted: #3e5c70;
  --line: #d5e4ee;
  --soft: #f2f7fb;
  --white: #ffffff;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section { scroll-margin-top: 84px; }
body {
  margin: 0;
  font-family: "Albert Sans", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; }

.wrap {
  width: min(var(--max), calc(100% - 64px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}
.header-bar {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 84px;
  padding: 16px 0;
}
.logo { margin-right: auto; }
.logo img { width: 168px; height: auto; }
.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
}
.nav a:hover { color: var(--brand); }
.nav-reseller { display: none; }
.reseller-btn {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 18px;
  border: 1.5px solid var(--brand);
  border-radius: 999px;
  color: var(--brand);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
}
.reseller-btn:hover { background: var(--brand); color: #fff; }
.nav-toggle {
  display: none;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0;
  background: var(--brand);
}

.hero {
  padding: 72px 0 84px;
  min-height: 520px;
  background:
    linear-gradient(90deg, #f7fbfd 0%, rgba(247, 251, 253, 0.94) 28%, rgba(247, 251, 253, 0.72) 48%, rgba(247, 251, 253, 0.42) 100%),
    url("img/app-hero.jpg?v=23") right center / cover no-repeat;
}
.hero .wrap { display: flex; align-items: center; justify-content: flex-start; min-height: 420px; }
.hero .cta-row { justify-content: flex-start; }
.hero-copy { max-width: 440px; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
}
h1 {
  margin: 0;
  color: var(--brand);
  font-size: clamp(40px, 4.6vw, 58px);
  font-weight: 800;
}
.hero-copy p { margin: 20px 0 0; color: var(--muted); max-width: 560px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-outline { border: 1.5px solid var(--brand); color: var(--brand); }
.btn-outline:hover { background: var(--brand); color: #fff; }

.band { padding: 96px 0; background: var(--soft); }
.section { padding: 96px 0; background: #fff; }
h2 {
  margin: 0;
  color: var(--brand);
  font-size: clamp(32px, 3.4vw, 44px);
  font-weight: 800;
}
.lead {
  margin: 16px 0 0;
  max-width: 820px;
  color: var(--muted);
  font-size: 18px;
}

.downloads {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 40px;
}
.dl {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 210px;
  padding: 24px 16px;
  text-align: center;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(4, 88, 130, 0.05);
}
.dl:hover { border-color: var(--brand); transform: translateY(-3px); }
.dl img { width: 72px; height: 72px; object-fit: contain; }
.dl strong { font-size: 16px; color: var(--ink); }

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.features article {
  padding: 28px 26px 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
}
.features article:hover { border-color: #9ec4d8; }
.features img { width: 52px; height: 52px; object-fit: contain; margin-bottom: 16px; }
.features h3 { margin: 0 0 8px; font-size: 20px; font-weight: 700; color: var(--ink); }
.features p { margin: 0; color: var(--muted); }

.reseller { padding: 96px 0; background: var(--brand); color: #fff; }
.reseller h2 { color: #fff; }
.reseller p { margin: 16px 0 0; max-width: none; font-size: 18px; color: #e7f4fa; }
.btn-white { background: #fff; color: var(--brand); }
.btn-white:hover { background: #e7f4fa; }
.btn-white-outline { border: 1.5px solid #fff; color: #fff; }
.btn-white-outline:hover { background: #fff; color: var(--brand); }

.site-footer { padding: 72px 0 36px; background: #f7fafc; color: var(--muted); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 0.8fr;
  gap: 48px;
}
.footer-logo img { width: 150px; height: auto; margin-bottom: 16px; }
.site-footer h3 { margin: 0 0 14px; color: var(--brand); font-size: 20px; }
.site-footer p { margin: 0; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin: 0 0 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--brand); }
.footer-base { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.disclaimer { font-size: 13px; }
.copy { margin-top: 10px; font-size: 14px; }

.whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 20px rgba(20, 50, 70, 0.2);
}
.whatsapp svg { width: 32px; height: 32px; }

@media (max-width: 980px) {
  .downloads { grid-template-columns: repeat(3, 1fr); }
  .features { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 760px) {
  .wrap { width: min(var(--max), calc(100% - 32px)); }
  .nav-toggle { display: flex; order: 3; }
  .reseller-btn { order: 2; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 20px 16px;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }
  body.nav-open .nav { display: flex; }
  .nav a { width: 100%; padding: 14px 4px; }
  .header-bar { gap: 10px; }
  .reseller-btn { height: 36px; padding: 0 12px; font-size: 13px; }
  .downloads { grid-template-columns: 1fr 1fr; gap: 12px; }
  .dl { min-height: 0; padding: 16px 10px; }
  .dl img { width: 56px; height: 56px; }
  .dl strong { font-size: 14px; }
  .features { grid-template-columns: 1fr 1fr; gap: 12px; }
  .features article { padding: 16px 14px 18px; }
  .features h3 { font-size: 16px; }
  .features img { width: 40px; height: 40px; margin-bottom: 10px; }
  .band, .section, .reseller { padding: 64px 0; }
  .logo img { width: 118px; }
  .hero {
    min-height: 0;
    padding: 48px 0 280px;
    background:
      linear-gradient(180deg, #f7fbfd 0%, rgba(247, 251, 253, 0.94) 34%, rgba(247, 251, 253, 0.5) 100%),
      url("img/app-hero-mobile.jpg") 28% 40% / cover no-repeat;
  }
  .hero .wrap { min-height: 0; display: block; }
  .hero .cta-row { margin-top: 56px; }
  .page { padding: 48px 0 72px; }
}

.page { padding: 72px 0 96px; }
.page h1 { margin-bottom: 18px; }
.prose h2 {
  font-size: 26px;
  margin: 36px 0 10px;
}
.prose p, .prose li { color: var(--muted); }
.prose ul { margin: 8px 0 0; padding-left: 22px; }
.prose li { margin: 8px 0; }
.prose a { color: var(--brand); }

.faq-list { margin-top: 28px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  margin: 0 0 12px;
  padding: 0 22px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  padding: 18px 0;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { margin: 0 0 18px; color: var(--muted); }

.contact-form {
  display: grid;
  gap: 16px;
  max-width: 680px;
  margin-top: 32px;
}
.contact-form label { display: block; font-weight: 650; }
.contact-form .req { color: var(--brand); }
.contact-form input,
.contact-form textarea {
  margin-top: 6px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}
.contact-form textarea { min-height: 160px; resize: vertical; }
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(4, 88, 130, 0.25);
  border-color: var(--brand);
}
.hp { position: absolute; left: -9999px; }
.form-note {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #e7f3f8;
  color: var(--brand);
  font-weight: 650;
}
