:root{
  --ink: #2f3b55;
  --muted: rgba(47,59,85,.78);
  --muted2: rgba(47,59,85,.60);

  --glass: rgba(255,255,255,.78);
  --border: rgba(47,59,85,.12);

  --shadow: 0 22px 60px rgba(20, 30, 55, .18);
  --shadow2: 0 18px 44px rgba(20, 30, 55, .14);

  --radius-xl: 22px;
  --radius-lg: 18px;
  --radius-pill: 999px;

  --max: 1040px;
}

*{ box-sizing: border-box; }
html, body{ height:100%; }
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: #eef1f8;
  overflow-x: hidden;
}

.container{
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
}

/* =========================
   SECTION 1: HERO (Image 1)
   ========================= */
.hero{
  position: relative;
  padding: 22px 0 0; /* IMPORTANT: don't pad the hero down to footer */
  overflow: hidden;
}

.hero__bg{
  position:absolute;
  inset:-40px;
  width: calc(100% + 80px);
  height: calc(100% + 80px);
  object-fit: cover;
  filter: blur(7px) saturate(1.02);
  transform: scale(1.03);
  opacity: .92;
  z-index: 0;
}

.hero__wash{
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:
    radial-gradient(900px 520px at 28% 18%, rgba(255,255,255,.78), rgba(255,255,255,0) 55%),
    linear-gradient(180deg, rgba(255,255,255,.70) 0%, rgba(255,255,255,.22) 62%, rgba(255,255,255,.06) 100%);
}

.hero__inner{
  position: relative;
  z-index: 2;
  padding-bottom: 0; /* overlap handled by banner */
}

/* Topbar */
.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
  padding: 8px 0 26px;
}

.brand{
  display:flex;
  align-items:center;
  gap: 12px;
}
.brand__logo{ width: 34px; height: 34px; object-fit: contain; }
.brand__name{ display:flex; gap: 6px; font-size: 18px; letter-spacing: -0.2px; }
.brand__name-strong{ font-weight: 700; }
.brand__name-light{ font-weight: 500; opacity: .92; }

.topbar__email{
  color: rgba(47,59,85,.85);
  text-decoration:none;
  font-size: 14px;
}
.topbar__email:hover{ text-decoration: underline; }

/* Hero copy */
.hero-copy{ padding: 10px 0 14px; }
.hero-copy__title{
  margin: 0;
  font-weight: 650;
  letter-spacing: -0.7px;
  line-height: 1.1;
  font-size: 44px;
  max-width: 700px;
}
.hero-copy__subtitle{
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 15px;
  max-width: 620px;
}

/* Glass base */
.glass-card{
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

/* Problem banner */
.problem{
  margin-top: 26px;
  display:grid;
  grid-template-columns: 44% 56%;
  overflow: hidden;
  min-height: 220px;
  position: relative;
  z-index: 5; /* ensures it sits above content background */
}

/* THIS is the key: banner hangs into section 2 */
.problem--overlap{
  margin-bottom: -86px; /* adjust overlap depth to match your screenshot */
}

.problem__left{
  position: relative;
  background: linear-gradient(180deg, rgba(240,244,255,.72), rgba(225,233,252,.56));
  border-right: 1px solid rgba(47,59,85,.08);
}

.problem__left::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(340px 220px at 35% 55%, rgba(255,255,255,.72), transparent 65%),
    radial-gradient(520px 280px at 55% 85%, rgba(160,180,230,.35), transparent 60%);
  opacity: .92;
}

.problem__icon{
  position:absolute;
  left: 34px;
  top: 50%;
  transform: translateY(-50%);
  width: 260px;
  max-width: 78%;
  height: auto;
  opacity: .96;
}

.problem__right{
  padding: 30px 34px;
  background: linear-gradient(180deg, rgba(255,255,255,.64), rgba(255,255,255,.34));
}

.problem__title{
  margin: 0;
  font-size: 26px;
  font-weight: 650;
  letter-spacing: -0.35px;
}

.problem__text{
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 14.5px;
}

.problem__text--muted{
  margin-top: 16px;
  color: var(--muted2);
}

/* ==========================================
   SECTION 2: CONTENT (Image 2 – NO hero.jpg)
   ========================================== */
.content{
  position: relative;
  padding: 118px 0 70px; /* IMPORTANT: extra top padding for the overlapped banner */
  background:
    radial-gradient(900px 520px at 22% 20%, rgba(255,255,255,.82), rgba(255,255,255,0) 55%),
    radial-gradient(900px 520px at 80% 60%, rgba(170,190,235,.22), rgba(255,255,255,0) 60%),
    linear-gradient(180deg, #e9edf9 0%, #eef2fb 40%, #e9edf9 100%);
  overflow:hidden;
}

.content::before{
  content:"";
  position:absolute;
  inset:-20%;
  pointer-events:none;
  background:
    linear-gradient(135deg, transparent 0 58%, rgba(120,140,195,.16) 58% 60%, transparent 60% 100%),
    linear-gradient(135deg, transparent 0 66%, rgba(120,140,195,.11) 66% 68%, transparent 68% 100%),
    linear-gradient(135deg, transparent 0 74%, rgba(120,140,195,.08) 74% 76%, transparent 76% 100%);
  transform: rotate(-2deg);
  opacity:.9;
}

.content > .container{
  position: relative;
  z-index: 1;
}

/* What we optimise */
.section-title{
  margin: 0 0 16px;
  text-align: center;
  font-size: 34px;
  font-weight: 650;
  letter-spacing: -0.35px;
}

.pill-row{
  display:flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  padding: 10px 0 34px;
}

.pill{
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,.74);
  border: 1px solid rgba(47,59,85,.10);
  box-shadow: 0 14px 34px rgba(20, 30, 55, .10);
  color: rgba(47,59,85,.82);
  font-size: 18px;
  line-height: 1;
  white-space: nowrap;
}

.pill--wide{
  min-width: 380px;
  text-align: center;
}

/* Two columns */
.glass-panel{
  background: rgba(255,255,255,.40);
  border: 1px solid rgba(47,59,85,.10);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow2);
  backdrop-filter: blur(10px);
}

.two-col{
  display:grid;
  grid-template-columns: 1fr 1px 1fr;
  overflow: hidden;
}

.two-col__divider{ background: rgba(47,59,85,.10); }

.two-col__col{
  padding: 34px 44px 34px;
  background: linear-gradient(180deg, rgba(255,255,255,.44), rgba(255,255,255,.14));
}

.two-col__title{
  margin: 0 0 18px;
  text-align:center;
  font-size: 34px;
  font-weight: 650;
  letter-spacing: -0.25px;
}

.checklist{
  margin: 0;
  padding: 0;
  list-style: none;
  display:grid;
  gap: 16px;
  max-width: 520px;
  margin-left:auto;
  margin-right:auto;
}

.checklist li{
  position: relative;
  padding-left: 30px;
  color: rgba(47,59,85,.78);
  font-size: 20px;
  line-height: 1.35;
}

.checklist li::before{
  content:"✓";
  position:absolute;
  left: 0;
  top: 0;
  color: rgba(93, 120, 185, .95);
  font-weight: 700;
}

/* Quote */
.glass-strip{
  margin-top: 26px;
  background: rgba(255,255,255,.38);
  border: 1px solid rgba(47,59,85,.10);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 44px rgba(20, 30, 55, .10);
  backdrop-filter: blur(10px);
  text-align: center;
  padding: 28px 32px;
}

.quote__headline{
  margin: 0 0 14px;
  font-size: 34px;
  color: rgba(47,59,85,.88);
  font-family: Georgia, "Times New Roman", serif;
}

.quote__text{
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 22px;
}

/* Footer */
.footer-block{
  text-align: center;
  padding-top: 32px;
}

.footer-block__title{
  margin: 0;
  font-size: 44px;
  font-weight: 650;
  letter-spacing: -0.3px;
}

.footer-block__text{
  margin: 12px auto 0;
  max-width: 860px;
  color: rgba(47,59,85,.70);
  line-height: 1.75;
  font-size: 22px;
}

.footer-block__email{
  display:inline-block;
  margin-top: 16px;
  font-size: 28px;
  font-weight: 650;
  color: rgba(47,59,85,.85);
  text-decoration:none;
}
.footer-block__email:hover{ text-decoration: underline; }

/* Responsive */
@media (max-width: 980px){
  .hero-copy__title{ font-size: 40px; }

  .problem{ grid-template-columns: 1fr; }
  .problem__left{
    min-height: 210px;
    border-right: 0;
    border-bottom: 1px solid rgba(47,59,85,.08);
  }
  .problem__icon{ left: 24px; width: 240px; }
  .problem--overlap{ margin-bottom: -64px; }
  .content{ padding-top: 96px; }

  .two-col{ grid-template-columns: 1fr; }
  .two-col__divider{ display:none; }

  .section-title{ font-size: 30px; }
  .two-col__title{ font-size: 28px; }
  .quote__headline{ font-size: 28px; }
  .quote__text{ font-size: 18px; }
  .footer-block__title{ font-size: 34px; }
  .footer-block__text{ font-size: 18px; }
}

@media (max-width: 560px){
  .container{ width: min(var(--max), calc(100% - 28px)); }

  .topbar{
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .hero-copy__title{ font-size: 34px; }

  .pill{
    width: 100%;
    text-align: center;
    font-size: 16px;
  }
  .pill--wide{ min-width: 0; }
}
