:root{
  --bg:#ffffff;
  --alt:#E7F4EF;
  --text:#1A1A1A;
  --muted:#5B5B5B;
  --brand:#1F7A63;
  --brand-2:#155947;
  --border:#E6E6E6;
  --shadow: 0 12px 28px rgba(0,0,0,.08);
  --radius: 14px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.55;
}

.container{
  max-width: 1100px;
  padding: 0 20px;
  margin: 0 auto;
}

/* Header */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 0;
  gap: 16px;
}
.logo{
  display:flex;
  align-items:center;
  min-width: 120px;
  text-decoration:none;
}
.logo img{
  height: 34px;
  width: auto;
  display:block;
}

.header-cta{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 10px;
  text-decoration:none;
  font-weight: 600;
  border: 2px solid transparent;
  transition: transform .06s ease, background .15s ease, border-color .15s ease;
  cursor: pointer;
  user-select:none;
}
.btn:active{ transform: translateY(1px); }
.btn--primary{
  background: var(--brand);
  color: #fff;
}
.btn--primary:hover{ background: var(--brand-2); }
.btn--ghost{
  background: transparent;
  color: var(--brand);
  border-color: rgba(31,122,99,.35);
}
.btn--ghost:hover{
  border-color: rgba(31,122,99,.6);
  background: rgba(31,122,99,.06);
}
.btn--full{ width:100%; }

/* Hero */
.hero{
  background: radial-gradient(1200px 500px at 20% 0%, rgba(31,122,99,.16), transparent 55%),
              radial-gradient(900px 420px at 90% 20%, rgba(31,122,99,.12), transparent 55%),
              var(--alt);
  border-bottom: 1px solid var(--border);
}
.hero-inner{
  padding: 72px 0 64px;
}
.hero-inner--center{
  display:flex;
  justify-content:center;
}
.hero-center{
  text-align:center;
  max-width: 900px;
}

/* Fluid hero type (desktop->mobile) */
.hero-strapline{
  margin: 0 0 8px;
  font-size: clamp(28px, 6vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.3px;
}
.hero-launch{
  margin: 0 0 18px;
  font-weight: 600;
  color: var(--brand-2);
  font-size: clamp(14px, 3.2vw, 16px);
}
.hero-sub{
  margin: 0 auto 24px;
  max-width: 70ch;
  color: var(--muted);
  font-size: clamp(14px, 3.4vw, 16px);
}

.hero-actions{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-actions--center{
  justify-content:center;
  margin-bottom: 26px;
}

.trust-row{
  display:grid;
  gap: 14px;
}
.trust-row--center{
  grid-template-columns: repeat(3, 1fr);
  margin-top: 10px;
}
.trust-item{
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 12px;
  padding: 14px;
  text-align:left;
}
.trust-title{
  font-weight: 600;
  margin-bottom: 4px;
}
.trust-desc{
  font-size: 13px;
  color: var(--muted);
}

/* Sections */
.section{
  padding: 64px 0;
}
.section--alt{
  background: #F6FBF9;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-head{
  text-align:center;
  max-width: 74ch;
  margin: 0 auto 26px;
}
.section-head h2{
  margin: 0 0 10px;
  font-size: 30px;
}
.section-head p{
  margin: 0;
  color: var(--muted);
}

.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
}
.feature{
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: var(--radius);
  padding: 18px;
}
.feature h3{
  margin: 0 0 8px;
}
.feature p{
  margin: 0;
  color: var(--muted);
}

/* Form */
.form{
  max-width: 860px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}
.form-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field{
  display:flex;
  flex-direction: column;
  gap: 8px;
}
.field--full{ grid-column: 1 / -1; }
.field span{
  font-size: 13px;
  color: var(--muted);
}
input, textarea{
  font: inherit;
  font-size: 16px; /* prevents iOS zoom */
  padding: 12px 12px;
  border-radius: 10px;
  border: 1px solid #DADADA;
  outline: none;
  background: #fff;
}
input:focus, textarea:focus{
  border-color: rgba(31,122,99,.65);
  box-shadow: 0 0 0 3px rgba(31,122,99,.12);
}
.form-actions{
  margin-top: 16px;
  text-align:center;
}
.small{
  font-size: 12px;
}
.muted{
  color: var(--muted);
}
.fineprint{
  max-width: 860px;
  margin: 14px auto 0;
  text-align:center;
}

/* Social strip */
.social-strip{
  padding: 22px 0 10px;
}
.social-inner{
  display:flex;
  justify-content:center;
  gap: 14px;
}
.social-link{
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display:flex;
  align-items:center;
  justify-content:center;
  border: 1px solid rgba(0,0,0,.10);
  background: #fff;
  text-decoration:none;
  transition: transform .06s ease, border-color .15s ease, background .15s ease;
}
.social-link:hover{
  border-color: rgba(31,122,99,.45);
  background: rgba(31,122,99,.06);
}
.social-link:active{ transform: translateY(1px); }
.social-link svg{
  width: 18px;
  height: 18px;
  fill: var(--brand-2);
}

/* Footer */
.site-footer{
  padding: 28px 0;
  background: #F7F7F7;
  border-top: 1px solid var(--border);
}
.footer-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
}
.footer-brand{
  font-weight: 600;
}
.footer-meta{
  text-align:right;
}

/* Safe-area padding for notched devices */
.site-header, .hero, .section, .site-footer{
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

/* ===============================
   Responsive adjustments
   =============================== */

/* 1) Consistent side gutters on smaller screens */
@media (max-width: 720px){
  .container{
    padding-left: 18px;
    padding-right: 18px;
  }

  /* ensure key blocks never feel edge-to-edge */
  .feature,
  .trust-item,
  .form{
    border-radius: 14px;
  }

  /* Header stacks */
  .header-inner{
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
  }

  .logo{
    justify-content: center;
    min-width: 0;
  }
  .logo img{
    height: 32px;
  }

  .header-cta{
    width: 100%;
    justify-content: center;
  }

  /* Footer centered */
  .footer-inner{
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
  }
  .footer-meta{
    text-align: center;
  }

  /* Reduce gap above social icons */
  .social-strip{
    padding-top: 6px;
    padding-bottom: 6px;
  }

  /* Slightly tighter end-of-page spacing */
  .section:last-of-type{
    padding-bottom: 28px;
  }

  /* Mobile footer padding feels better */
  .site-footer{
    padding-top: 20px;
    padding-bottom: 24px;
  }
}

/* 2) Trust cards: 3 -> 2 -> 1 */
@media (max-width: 900px){
  .trust-row--center{
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px){
  .trust-row--center{
    grid-template-columns: 1fr;
  }

  .form{
    padding: 18px;
  }

  .form-grid{
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .field span{
    font-size: 12px;
  }

  .social-link{
    width: 46px;
    height: 46px;
  }
  .social-link svg{
    width: 20px;
    height: 20px;
  }
}

/* 3) Hero CTA buttons full width on tiny screens */
@media (max-width: 420px){
  .hero-actions{
    flex-direction: column;
  }
  .hero-actions .btn{
    width: 100%;
  }
}