/* =========================================================
   VeriSlí — Marketing Site Styles
   Plain CSS, mobile-first, no build step.
   ========================================================= */

:root {
  /* Colour tokens — derived from the VeriSlí app icon and in-app screens */
  --navy: #0a1220;
  --navy-soft: #101c30;
  --deep-green: #0b3324;
  --dark-green: #06231a;
  --leaf-green: #4f8f2f;
  --leaf-green-dark: #3c7024;
  --gold: #e0ac2b;
  --lime: #9ad24a;
  --cream: #f8f6ee;
  --soft-green: #eef4df;
  --text-dark: #17221c;
  --text-muted: #5c6b60;
  --white: #ffffff;
  --line: #e2e2d6;

  --font-display: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --max-width: 1180px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --shadow-soft: 0 20px 50px -20px rgba(10, 18, 32, 0.35);
  --shadow-card: 0 10px 30px -15px rgba(10, 18, 32, 0.2);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

html, body { overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
ul { margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; line-height: 1.15; }
p { margin: 0; }
button { font-family: inherit; }

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

section { position: relative; }
section[id] { scroll-margin-top: 96px; }

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--navy);
  color: var(--white);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  z-index: 1000;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--leaf-green);
  color: var(--white);
  box-shadow: var(--shadow-card);
}
.btn-primary:hover { background: var(--leaf-green-dark); }
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.35);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); }
.btn-dark {
  background: var(--navy);
  color: var(--white);
}
.btn-dark:hover { background: #000; }

/* Store badges */
.store-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #000;
  color: #fff;
  border-radius: 12px;
  padding: 10px 18px 10px 14px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.15);
  transition: transform 0.15s ease, background-color 0.15s ease;
  min-height: 52px;
}
.store-badge:hover { transform: translateY(-2px); background: #1a1a1a; }
.store-badge svg { flex-shrink: 0; }
.store-badge .badge-text { display: flex; flex-direction: column; line-height: 1.2; }
.store-badge .badge-eyebrow { font-size: 0.68rem; opacity: 0.85; }
.store-badge .badge-name { font-size: 1.05rem; font-weight: 700; font-family: var(--font-display); }
.store-badge.google { background: #000; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(10, 18, 32, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
}
.brand img { width: 40px; height: 40px; border-radius: 50%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  color: var(--white);
}
.brand-name .accent-i { color: var(--lime); }
.brand-tagline {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
  font-weight: 600;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.main-nav a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}
.main-nav a:hover { color: var(--lime); }

.header-actions { display: flex; align-items: center; gap: 18px; }
.header-cta {
  background: var(--leaf-green);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
}
.header-cta:hover { background: var(--leaf-green-dark); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 8px;
}
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 900px) {
  .main-nav { display: none; }
  .header-cta.desktop-only { display: none; }
  .nav-toggle { display: inline-flex; }

  .mobile-nav {
    display: none;
    flex-direction: column;
    background: var(--navy);
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .mobile-nav.open { display: flex; }
  .mobile-nav a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    padding: 16px 24px;
    border-top: 1px solid rgba(255,255,255,0.06);
    font-weight: 600;
  }
  .mobile-nav .header-cta { margin: 16px 24px; text-align: center; }
}
@media (min-width: 901px) {
  .mobile-nav { display: none !important; }
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(circle at 15% 15%, rgba(154, 210, 74, 0.16), transparent 45%),
    linear-gradient(160deg, var(--dark-green) 0%, var(--navy) 65%, var(--navy-soft) 100%);
  color: var(--white);
  padding: 64px 0 90px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero-grid > * { min-width: 0; }
.hero h1 {
  font-size: clamp(2.3rem, 4.4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.hero h1 .highlight { color: var(--lime); }
.hero-copy {
  margin-top: 20px;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.82);
  max-width: 46ch;
}
.hero-ctas { margin-top: 32px; }
.trust-points {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.trust-point {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
}
.trust-point svg { color: var(--lime); flex-shrink: 0; }

/* Hero phone stack */
.phone-stack {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0;
  padding: 20px 0;
}
.phone {
  position: relative;
  border-radius: 30px;
  border: 6px solid #050b12;
  background: #050b12;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  flex-shrink: 0;
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }

/* All four hero screenshots share the same 720x1430 crop, so lock a single
   aspect ratio for the whole stack. Offsets are fixed px (not %) and
   symmetric around the front-and-centre Jot phone, so the fan reads as one
   deliberate arc instead of a random stagger. */
.phone-stack .phone { aspect-ratio: 720 / 1430; }
.phone-history { width: 21%; margin-right: -6%; transform: translateY(32px) scale(0.94); z-index: 1; opacity: 0.92; }
.phone-jot { width: 27%; z-index: 3; }
.phone-reports { width: 25%; margin-left: -6%; transform: translateY(16px); z-index: 2; }
.phone-profile { width: 20%; margin-left: -6%; transform: translateY(32px) scale(0.9); z-index: 1; opacity: 0.9; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; row-gap: 56px; }
  .phone-stack { margin-top: 20px; }
}
@media (max-width: 640px) {
  /* Stack the store badges vertically, centered, with a sensible max width */
  .hero-ctas.store-badges {
    flex-direction: column;
    align-items: center;
  }
  .hero-ctas.store-badges .store-badge {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  /* More breathing room between the trust points and the phone screenshots */
  .hero-media { margin-top: 12px; }
  .phone-stack { margin-top: 32px; }

  /* Switch the overlapping phone fan to a non-scrolling 2x2 grid so nothing
     clips and the hero never causes horizontal scrolling on narrow screens */
  .phone-stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    justify-items: center;
    overflow: visible;
    padding: 0;
  }
  .phone-stack .phone {
    width: 100% !important;
    max-width: 168px;
    margin: 0 !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* ---------- Section headings ---------- */
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-eyebrow {
  display: inline-block;
  color: var(--leaf-green-dark);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: var(--text-dark);
}
.section-head p { margin-top: 14px; color: var(--text-muted); font-size: 1.05rem; }

/* ---------- How it works ---------- */
.how-it-works { padding: 64px 0 8px; background: var(--cream); }
.how-it-works .section-head { margin-bottom: 36px; }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  counter-reset: step;
}
.step { position: relative; padding: 0 16px; text-align: left; }
.step-connector {
  position: absolute;
  top: 34px;
  right: -8px;
  width: 16px;
  color: var(--leaf-green);
}
.step-mark {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--soft-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
}
.step-mark svg { width: 30px; height: 30px; color: var(--leaf-green-dark); }
.step-number {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--dark-green);
  font-size: 0.72rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 0.96rem; }
.step .step-sub { margin-top: 8px; font-size: 0.88rem; color: var(--text-muted); opacity: 0.85; }

@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
  .step-connector { display: none; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Why VeriSlí exists (short, understated) ---------- */
.why-band { padding: 40px 0 56px; background: var(--cream); }
.why-band p {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  color: var(--text-muted);
  font-size: 1.02rem;
  font-style: italic;
  line-height: 1.6;
}

/* ---------- Features ---------- */
.features { padding: 8px 0 0; background: var(--white); }
.features .section-head { padding-top: 56px; margin-bottom: 8px; }

/* Each feature is a full-bleed band so alternating tints read as one
   continuous page instead of isolated cards with big gaps between them. */
.feature-row-wrap.alt-a { background: var(--white); }
.feature-row-wrap.alt-b { background: var(--soft-green); }
.feature-row-wrap:last-child .feature-row { border-bottom: none; }

.feature-row {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 56px;
  align-items: center;
  min-height: 500px;
  max-height: 650px;
  padding: 44px 0;
}
.feature-row > * { min-width: 0; }
.feature-row.reverse { grid-template-columns: 1fr 0.9fr; }
.feature-row.reverse .feature-media { order: 2; }
.feature-row.reverse .feature-text { order: 1; }

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: var(--shadow-card);
}
.feature-icon svg { width: 26px; height: 26px; color: var(--leaf-green-dark); }
.feature-text h3 { font-size: 1.45rem; margin-bottom: 12px; }
.feature-text p { color: var(--text-muted); font-size: 1.03rem; max-width: 44ch; }

.feature-media {
  display: flex;
  justify-content: center;
  align-items: center;
}
.feature-media .phone {
  width: min(320px, 42vw);
  border-width: 7px;
}

/* Combo treatment for the inspection-report row: the PDF report shown large
   as a document, with the activity-summary phone screenshot tucked beside it */
.feature-media.report-combo {
  position: relative;
  width: 100%;
  justify-content: center;
}
.report-doc {
  width: min(300px, 40vw);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
  background: var(--white);
  position: relative;
  z-index: 2;
}
.report-doc { display: block; }
.report-doc picture { display: block; width: 100%; }
.report-doc img { width: 100%; height: auto; display: block; }
.report-combo .phone {
  position: absolute;
  right: -6px;
  bottom: -30px;
  width: 132px;
  z-index: 3;
  box-shadow: var(--shadow-soft);
}

@media (max-width: 860px) {
  .feature-row, .feature-row.reverse {
    grid-template-columns: 1fr;
    gap: 24px;
    min-height: 0;
    max-height: none;
    padding: 40px 0;
  }
  .feature-row.reverse .feature-media,
  .feature-row.reverse .feature-text,
  .feature-row .feature-media,
  .feature-row .feature-text { order: unset; }
  .feature-row .feature-media { order: -1; }
  .feature-media .phone { width: min(260px, 62vw); }
  .report-doc { width: min(260px, 66vw); }
  .report-combo { padding-bottom: 34px; }
  .report-combo .phone { width: 108px; right: 6px; bottom: -14px; }
}

/* ---------- Pricing ---------- */
.pricing { padding: 96px 0; background: var(--cream); }
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 920px;
  margin: 0 auto;
}
.price-card {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px 38px;
  box-shadow: var(--shadow-soft);
}
.price-tag { color: var(--lime); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; }
.price-amount { font-family: var(--font-display); font-size: 3rem; font-weight: 800; }
.price-amount span { font-size: 1.1rem; font-weight: 600; color: rgba(255,255,255,0.7); }
.price-list { list-style: none; margin-top: 26px; display: flex; flex-direction: column; gap: 12px; }
.price-list li { display: flex; align-items: center; gap: 10px; font-size: 0.98rem; color: rgba(255,255,255,0.9); }
.price-list svg { color: var(--lime); flex-shrink: 0; }
.price-cta { margin-top: 30px; width: 100%; }

.plan-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px 38px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.plan-card .feature-icon { background: var(--soft-green); }
.plan-card h3 { font-size: 1.5rem; margin-bottom: 4px; }
.plan-card .plan-sub { font-size: 1.05rem; color: var(--leaf-green-dark); font-weight: 700; margin-bottom: 14px; }
.plan-card p { color: var(--text-muted); }

@media (max-width: 760px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ---------- FAQ ---------- */
.faq { padding: 88px 0 48px; background: var(--soft-green); }
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--text-dark);
  cursor: pointer;
}
.faq-question .icon-plus {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--leaf-green-dark);
  transition: transform 0.2s ease;
}
.faq-item[open] .faq-question .icon-plus { transform: rotate(45deg); }
.faq-answer { padding: 0 24px 22px; color: var(--text-muted); font-size: 0.98rem; max-width: 62ch; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary { list-style: none; }

/* ---------- Final CTA ---------- */
.final-cta {
  background: linear-gradient(150deg, var(--dark-green), var(--navy));
  color: var(--white);
  padding: 64px 0 88px;
  text-align: center;
}
.final-cta h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.final-cta p { margin-top: 14px; color: rgba(255,255,255,0.8); font-size: 1.1rem; }
.final-cta .store-badges { justify-content: center; margin-top: 34px; }
@media (max-width: 640px) {
  .final-cta .store-badges { flex-direction: column; align-items: center; }
  .final-cta .store-badges .store-badge { width: 100%; max-width: 320px; justify-content: center; }
}

/* ---------- Support ---------- */
.support { padding: 72px 0; background: var(--cream); }
.support-card {
  background: var(--soft-green);
  border-radius: var(--radius-lg);
  padding: 44px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.support-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
  flex-shrink: 0;
}
.support-icon svg { width: 28px; height: 28px; color: var(--leaf-green-dark); }
.support-text h3 { font-size: 1.3rem; margin-bottom: 4px; }
.support-text p { color: var(--text-muted); }
.support-email {
  margin-left: auto;
  font-weight: 700;
  color: var(--leaf-green-dark);
  text-decoration: none;
  font-size: 1.05rem;
  border-bottom: 2px solid var(--lime);
}
@media (max-width: 640px) {
  .support-card { flex-direction: column; text-align: center; }
  .support-email { margin-left: 0; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.7); padding: 48px 0 28px; }
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-nav a { color: rgba(255,255,255,0.75); text-decoration: none; font-size: 0.94rem; }
.footer-nav a:hover { color: var(--lime); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 22px;
  font-size: 0.86rem;
}
.footer-social { display: flex; gap: 14px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  text-decoration: none;
}
.footer-social a:hover { background: var(--leaf-green); }
.footer-social svg { width: 16px; height: 16px; }

/* ---------- Legal pages ---------- */
.legal-hero {
  background: linear-gradient(150deg, var(--dark-green), var(--navy));
  color: var(--white);
  padding: 64px 0 48px;
}
.legal-hero h1 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.legal-hero p { margin-top: 12px; color: rgba(255,255,255,0.75); }
.legal-content { padding: 64px 0 96px; }
.legal-content .container { max-width: 820px; }
.legal-content h2 { font-size: 1.35rem; margin: 44px 0 14px; color: var(--text-dark); }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--text-muted); font-size: 1.02rem; margin-bottom: 12px; }
.legal-content ul { margin: 0 0 16px 22px; }
.legal-content a { color: var(--leaf-green-dark); font-weight: 600; }
.legal-note {
  background: var(--soft-green);
  border-left: 4px solid var(--leaf-green);
  padding: 16px 20px;
  border-radius: 8px;
  font-size: 0.95rem;
  color: var(--text-dark);
  margin: 16px 0 28px;
}
.back-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  margin-top: 18px;
}

/* ---------- Utility ---------- */
.lazy-fade { opacity: 1; }
