/* ===========================
   LOCKED HEADER + NAV SYSTEM
   =========================== */

html, body{
  margin: 0;
  padding: 0;
}

.site-header,
header{
  padding-top: 0;
}

.site-header .logo,
.site-header img.logo{
  margin-top: 0;
  display: block;
}

.site-header .nav-inner{
  align-items: center;
}

html, body{
  margin: 0;
  padding: 0;
  background: #0b7f83; /* dark teal canvas */
}


.site-header{
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: linear-gradient(135deg, #0b7f83, #0fa4a9);
  border-bottom: 1px solid rgba(255,255,255,.15);
  margin-bottom: 0;
  padding-bottom: 0;

}

.header-inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}


/* ===========================
   SITE BASE + LAYOUT
   =========================== */

*{ box-sizing: border-box; }

body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:#0b1220;
  background:#e1f3f4;
}

img{ max-width:100%; height:auto; display:block; }

.page-wrap{
  max-width: 1100px;
  margin: 0 auto;
  background: #e9fbfb; /* your light teal */

  padding: 28px 18px 60px;
}

.contact-page.page-wrap{
  padding: 0 20px 40px;
}


/* Hero pages: remove top padding so image touches header */
.page-wrap .page-hero{
  margin-top: -28px;
}

.page-wrap{
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 18px 60px;
  background: #e9fbfb; /* your light teal */
}


.grid-2{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:18px;
}

.card{
  background:#fff;
  border:1px solid #d9eeee;
  border-radius:14px;
  padding: 22px 22px;
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
}

.card h3{
  margin:0 0 10px 0;
  color:#0b7f83;
  font-size:20px;
}

.card p{
  margin:0 0 12px 0;
  line-height:1.6;
  font-size:16px;
}

.card p:last-child{ margin-bottom:0; }

/* ===========================
   BENEFITS PAGE STYLES
   =========================== */

.benefit-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:18px;
}

.benefit{
  background:#ffffff;
  border:1px solid #d9eeee;
  border-radius:14px;
  padding:18px;
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
}

.benefit h3{
  margin:0 0 8px 0;
  color:#0b7f83;
  font-size:18px;
}

.benefit p{
  margin:0;
  line-height:1.6;
  font-size:15px;
}

/* =========================
   FEATURES HERO FULL WIDTH
   ========================= */

body.features .page-hero {
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  border-radius: 0;
  overflow: hidden;
  border-radius: 0 0 26px 26px;
}

body.features .page-hero img {
  border-radius: 0;
}

/* Tighten How It Works spacing */
.page-hero + .page-wrap{
  margin-top: 0px;
}

.page-wrap > .card:first-child{
  margin-top: 12px;
}


/* HERO TEXT POSITION TWEAK */
/* FULL-WIDTH HERO (works with your existing markup) */
.page-hero{
  position: relative;
  width: 100%;
  height: 300px !important;
  min-height: 300px !important; 
  margin-bottom: 0;
  overflow: hidden;
  margin: 0;           /* important */
  border-radius: 0;    /* important (no card look) */
}


.page-hero .hero-image{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Put text at the bottom of the image */
.page-hero .hero-text{
  position: absolute;
  left: 40px;
  right: 40px;
  bottom: 28px;        /* move text down */
  color: #fff;
  max-width: 720px;
  text-shadow: 0 2px 10px rgba(0,0,0,.45);
}

.page-hero .hero-text h1{
  margin: 0 0 8px 0;
  font-size: 54px;
  line-height: 1.05;
}

.page-hero .hero-text p{
  margin: 0;
  font-size: 20px;
  opacity: .95;
}

/* Round only the bottom corners of the hero (image + overlay) */
.page-hero{
  overflow: hidden;                 /* required for rounding to clip */
  border-radius: 0 0 26px 26px;     /* bottom corners only */
}


@media (max-width: 860px){
  .benefit-grid{
    grid-template-columns: 1fr;
  }
}
/* ===========================
   SECTION BACKGROUND FIELDS
   =========================== */

.page-wrap > section{
  background: #e6f6f7;     /* light teal field */
  padding: 26px;
  border-radius: 18px;
}



/* Vertical spacing between blocks */
.page-wrap > section{
  margin-bottom: 28px;
}

.cta-row{
  display:flex;
  justify-content:center;
  margin-top: 12px;
}


/* Footer */
footer{
  text-align:center;
  padding: 24px 18px;
  color:#ffffff;
  background:#0b7f83;
}
footer a{ color:#ffffff; text-decoration:underline; }

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


.brand{
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand img{
  height: 64px;
  width: auto;
  display: block;
}

.brand-text{
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name{
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .3px;
  color: #ffffff;
}

.brand-tagline{
  font-size: 13px;
  font-weight: 600;
  opacity: .95;
  color: #eaffff;
}

/* Navigation */
.site-nav{
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.site-nav a{
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 8px 12px;
  border-radius: 10px;
}

.site-nav a:hover{
  background: rgba(255,255,255,.18);
}

/* Mobile */
@media (max-width: 900px){
  .header-inner{
    flex-direction: column;
    align-items: flex-start;
  }
  .site-nav{
    width: 100%;
    justify-content: flex-start;
  }
}


/* ===========================
   PAGE HERO
   =========================== */

.page-hero{
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 32px;
}

.page-hero img.hero-image{
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.page-hero .hero-text{
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0));
  color: #ffffff;
}

.page-hero h1{
  margin: 0 0 6px;
  font-size: 34px;
  font-weight: 800;
}

.page-hero p{
  margin: 0;
  font-size: 17px;
  max-width: 600px;
}



/* ===========================
   PRICING PAGE STYLES
   =========================== */

body.pricing main.pricing-page .pricing-panel{
  background:#0b7f83;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

/* THIS is the 3-column grid */
body.pricing main.pricing-page .pricing-grid{
  display:grid  !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px;
  align-items: stretch;
}

body.pricing main.pricing-page .plan{
  background:#ffffff;
  border-radius: 16px;
  padding: 20px;
  border: 2px solid #d9eeee;
  display:flex;
  flex-direction:column;
  min-height: 100%;
}

body.pricing main.pricing-page .plan h2{
  margin: 0 0 8px;
  color:#0b7f83;
  font-size: 22px;
  line-height: 1.2;
}

body.pricing main.pricing-page .price{
  font-size: 34px;
  font-weight: 800;
  margin: 0 0 8px;
  color:#0b1220;
}

body.pricing main.pricing-page .sub{
  margin: 0 0 14px;
  color:#5b667a;
  font-size: 15px;
  line-height: 1.4;
}

body.pricing main.pricing-page .strike{
  text-decoration: line-through;
  color:#7b8794;
  font-weight: 800;
  margin-right: 8px;
  font-size: 18px;
}

body.pricing main.pricing-page .price-row{
  display:flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}

body.pricing main.pricing-page .plan ul{
  margin: 12px 0 18px 18px;
  padding: 0;
  color:#1f2933;
  line-height: 1.55;
  font-size: 16px;
}

body.pricing main.pricing-page .plan li{ margin: 8px 0; }

body.pricing main.pricing-page .note{
  margin-top:auto;
  font-size: 13.5px;
  color:#5b667a;
  line-height: 1.45;
}

/* Buttons (scoped to pricing page) */
body.pricing main.pricing-page .btn{
  display:inline-block;
  margin-top: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 800;
  text-decoration:none;
  text-align:center;
  border: 2px solid #0fa4a9;
  background:#0fa4a9;
  color:#ffffff;
}
body.pricing main.pricing-page .btn.secondary{
  background:#ffffff;
  color:#0b7f83;
  border-color:#0b7f83;
}
body.pricing main.pricing-page .btn:hover{ filter: brightness(.97); }

body.pricing main.pricing-page .goodtoknow{
  margin-top: 22px;
  background:#e8f6f7;
  border:2px solid #0fa4a9;
  border-radius: 16px;
  padding: 16px 18px;
  color:#0b1220;
}

/* Responsive */
@media (max-width: 900px){
  body.pricing main.pricing-page .pricing-grid{ grid-template-columns: 1fr; }
  body.pricing main.pricing-page .price{ font-size: 32px; }
}
/* ===========================
   HERO FLUSH TO HEADER (FINAL)
   =========================== */

/* If a page has a hero as the first section, remove any top spacing */
.page-wrap > .page-hero:first-child{
  margin-top: 0 !important;
}

/* Remove the top padding of page-wrap ONLY when hero is first */
.page-wrap:has(> .page-hero:first-child){
  padding-top: 0 !important;
}

/* Make sure the hero itself has no extra spacing */
.page-hero{
  margin: 0 !important;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

/* ===== Page Hero ===== */

.page-hero{
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
}

.page-hero img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-hero::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.45), rgba(0,0,0,0.15));
}

.hero-overlay{
  position: absolute;
  bottom: 24px;
  left: 24px;
  z-index: 2;
  color: #ffffff;
  max-width: 520px;
}

.hero-overlay h1{
  margin: 0 0 8px;
  font-size: 40px;
  line-height: 1.1;
}

.hero-overlay p{
  margin: 0;
  font-size: 18px;
  opacity: 0.95;
}


/* ========== CTA Buttons (Base) ========== */


.cta-row{
  display:flex;
  gap:16px;
  justify-content:center;
  margin-top:24px;
}

/* Make CTA links look like buttons everywhere (not only inside .cta-row) */
a.cta-primary,
a.cta-secondary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:14px 26px;
  border-radius:14px;
  font-weight:700;
  text-decoration:none;
  font-size:16px;
  line-height:1;
  white-space:nowrap;
}

/* Default: for light pages */
a.cta-primary{
  background:#0fa4a9;
  color:#ffffff;
  border:2px solid #0fa4a9;
}

a.cta-secondary{
  background:#ffffff;
  color:#0b7f83;
  border:2px solid #0b7f83;
}

/* Hover */
a.cta-primary:hover,
a.cta-secondary:hover{
  filter:brightness(0.96);
}

/* Center buttons used inside pricing cards */
.plan-btn{
  display:flex;
  justify-content:center;
  margin-top:18px;
}

/* ========== Dark Background Override ========== */
/* Any CTA row inside a dark section gets white text */

.dark-section .cta-secondary,
.page-hero .cta-secondary,
.site-header .cta-secondary{
  color:#ffffff;
  border-color:#ffffff;
  background:transparent;
}
/* Force CTA text colors everywhere */
.cta-row a.cta-primary { color:#ffffff !important; }
.cta-row a.cta-secondary { color:#0b7f83 !important; }

/* Only legal pages need offset under fixed header */
.page-hero.legal-hero{
  margin-top: 88px;  /* match header height */
}


.contact-page{
    background: linear-gradient(180deg, #0b7f83, #0fa4a9);
  margin-top: -60px;
  padding-top: 0;
}

.contact-page input,
.contact-page textarea{
  background:#fff;
  border-radius:12px;
  border:2px solid rgba(11,127,131,.25);
  padding:0px;
  font-size:16px;
}

.contact-page label{
  font-weight:700;
  margin-top:10px;
  display:block;
  
}

/* ==========================
   HOW IT WORKS page tuning
   ========================== */

.page-hero + .contact-page{
  padding-top: 0;
  margin-top: 0;
background: #0b7f83;
}


/* Give hero a real height so more of the image shows */
body.howitworks .page-hero{
  height: 380px;         /* try 380–440 */
}

/* Make sure the image fills the hero */
body.howitworks .page-hero .hero-image{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Reduce the huge gap created by the page-wrap padding */
body.howitworks .page-wrap{
  padding-top: 16px;     /* was likely 40px */
}

/* Pull ALL cards (including the grid cards) closer to the intro card */
body.howitworks .grid-2{
  margin-top: 14px;      /* reduce space above the 4 blocks */
}

/* Optional: slightly reduce spacing between the 4 cards */
body.howitworks .grid-2 .card{
  margin-top: 0;
}

/* Remove seam under hero */
.page-hero{
  margin-bottom: 0;
}

.page-hero + .page-wrap{
  padding-top: 0;
}

/* CONTACT: remove the white seam under the hero */
.page-hero{ margin-bottom: 0; }

/* remove top padding on the wrapper right after the hero */
.page-hero + .page-wrap,
.page-hero + main,
.page-hero + .contact-page{
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* remove top margin on the FIRST block inside the contact content */
.page-hero + .page-wrap > *:first-child,
.page-hero + main > *:first-child,
.page-hero + .contact-page > *:first-child{
  margin-top: 0 !important;
}

/* Prevent white from showing behind rounded hero corners */
body{
  background: #0b7f83;
}

/* Contact page: remove rounded hero corners so nothing shows through */
.page-hero.contact-hero{
  border-radius: 0 !important;
  overflow: hidden;
}

/* If you have an overlay pseudo-element, force it square too */
.page-hero.contact-hero::after,
.page-hero.contact-hero::before{
  border-radius: 0 !important;
}

.legal-page{
  max-width: 760px;
  margin: 40px auto;
  background: rgba(255,255,255,0.96);
  padding: 36px 32px;
  border-radius: 22px;
  box-shadow: 0 10px 28px rgba(0,0,0,.12);
}

.legal-page h1{ margin-bottom: 12px; }
.legal-page h2{ margin-top: 28px; }
.legal-page ul{ margin-left: 22px; }

/* ========== Footer ========== */
.site-footer{
  background: #0b7f83;
  color: #ffffff;
  margin-top: 56px;
}

.footer-inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.footer-left{
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-logo{
  margin-top: -8px;
  height: 60px;
  width: auto;
  display: block;
  opacity: 0.95;
}

.footer-meta{
  font-weight: 700;
  letter-spacing: 0.2px;
  opacity: 0.95;
}

.footer-links{
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-links a{
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  opacity: 0.95;
}

.footer-links a:hover{
  text-decoration: underline;
  opacity: 1;
}

/* Mobile */
@media (max-width: 720px){
  .footer-inner{
    flex-direction: column;
    text-align: center;
    padding: 22px 16px;
  }
  .footer-links{
    justify-content: center;
  }
}

/* Tighten space before footer */
.page-wrap{
  margin-bottom: 0;
  padding-bottom: 0;
}

main{
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Footer: remove tall block behavior */
.site-footer{
  margin-top: 0 !important;
  padding: 8px 0 !important;     /* tight */
  min-height: 0 !important;
  height: auto !important;
}

/* Tighten inner alignment */
.footer-inner{
  padding: 6px 20px !important;  /* tight */
  align-items: center;
}

.legal-hero{
  min-height: 120px;
  background: linear-gradient(135deg, #0fa4a9, #0b7f83);
  display: flex;
  align-items: center;
  min-height: 140px;        /* was 180px */
  padding-top: 0;
}

.legal-hero .hero-overlay{
  background: none;
  padding: 0px;
}

.legal-hero h1{
  color: #ffffff;
  margin-bottom: 6px;
  margin-top: 0;
}

.legal-hero p{
  color: rgba(255,255,255,0.9);
}

/* Legal pages: push content below the hero */
.legal-hero + .page-wrap{
  margin-top: 24px;
}

/* Legal pages: remove extra gap between nav and hero */
.site-header{
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.site-header .header-inner{
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.page-hero.legal-hero{
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* If your global hero has top padding via overlay */
.page-hero.legal-hero .hero-overlay{
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

/* Kill default top margins that can create “mystery space” */
.page-hero.legal-hero h1{
  margin-top: 0 !important;
}
.page-hero.legal-hero p{
  margin-top: 6px !important;
}

/* LEGAL HERO: force it shorter + remove any inherited hero height */
.page-hero.legal-hero{
  height: auto !important;      /* overrides global .page-hero height */
  min-height: 110px !important; /* controls the size */
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  align-items: center;
}

/* If your overlay wrapper adds padding */
.page-hero.legal-hero .hero-overlay,
.page-hero.legal-hero .hero-text{
  padding: 10px 24px !important;
  margin: 0 !important;
}

/* Remove default heading margins */
.page-hero.legal-hero h1{
  margin: 0 0 6px 0 !important;
  margin-top: 88px;   /* match your header height */
}
.page-hero.legal-hero p{
  margin: 0 !important;
}

/* ===== Compact LEGAL hero (Privacy / Terms) ===== */
.page-hero.legal-hero{
  height: 120px !important;     /* force a compact hero */
  min-height: 120px !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;  /* optional: keeps it clean under nav */
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* If you use .hero-overlay */
.page-hero.legal-hero .hero-overlay{
  background: none !important;
  padding: 16px 28px !important;  /* prevents top clipping */
  margin: 0 !important;
}

/* Title/subtitle sizing for legal hero */
.page-hero.legal-hero h1{
  margin: 0 0 6px 0 !important;
  font-size: 44px !important;      /* smaller than marketing heroes */
  line-height: 1.05 !important;
}

.page-hero.legal-hero p{
  margin: 0 !important;
  font-size: 18px !important;
  opacity: 0.92;
}

/* ===== Legal hero: no clipping, ever ===== */
.page-hero.legal-hero{
  min-height: 140px;
  height: auto;
  padding: 16px 0 12px 0;
  display: flex;
  align-items: flex-end;
}

.page-hero.legal-hero .hero-overlay{
  padding: 0 28px;
}

.page-hero.legal-hero h1{
  margin: 0 0 6px 0;
  font-size: 46px;
  line-height: 1.05;
}

.page-hero.legal-hero p{
  margin: 0;
  font-size: 18px;
}

.page-hero.legal-hero h1{
  white-space: nowrap;
}

/* Prevent footer overlap with content */
.site-footer{
  position: relative;
  z-index: 1;
}

.page-wrap{
  padding-bottom: 40px; /* gives breathing room above footer */
}

/* ===== Ensure content never overlaps footer ===== */
.site-footer{
  position: static !important;   /* cancels absolute/fixed footer */
  bottom: auto !important;
}

.page-wrap{
  padding-bottom: 60px;          /* breathing room above footer */
}

.cta-row{
  margin-bottom: 28px;           /* keeps buttons away from footer */
}
/* ===============================
   PRICING: responsive grid fix
   =============================== */

.pricing-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

/* Tablet: 2 columns */
@media (max-width: 980px){
  .pricing-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile: 1 column */
@media (max-width: 640px){
  .pricing-grid{
    grid-template-columns: 1fr;
  }
}

/* Prevent “squish” from long text/buttons */
.plan{
  min-width: 0;
}
.plan ul{
  padding-left: 18px; /* keeps bullets from pushing width */
}
.plan .cta-primary{
  display: inline-block;
  max-width: 100%;
  white-space: normal;     /* allow wrapping */
  text-align: center;
}
/* ===============================
   PRICING: mobile fix (final)
   =============================== */
@media (max-width: 900px){
  body.pricing main.pricing-page .pricing-grid{
    grid-template-columns: 1fr !important;
  }

  /* allow buttons to wrap + fit card width */
  body.pricing main.pricing-page a.cta-primary,
  body.pricing main.pricing-page a.cta-secondary{
    white-space: normal !important;
    width: 100%;
  }
}
@media (max-width: 900px){
  body.pricing main.pricing-page .plan-btn{
    width: 100%;
  }
  body.pricing main.pricing-page .plan-btn a{
    width: 100%;
  }
}
