:root {
  --navy: #173453;
  --blue: #2e6db7;
  --blue-dark: #245b9c;
  --pink: #ef3158;
  --pink-dark: #d92149;
  --cream: #fffaf4;
  --text: #24364a;
  --muted: #6e7e8e;
  --line: #e7edf2;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(33, 73, 111, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(231,237,242,.9);
}
.nav-wrap {
  min-height: 78px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { width: 52px; height: 52px; }
.brand-name {
  font: 800 28px/1 Manrope, sans-serif;
  letter-spacing: -1.3px;
  color: var(--navy);
}
.brand-name span { color: var(--blue); }

.primary-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
}
.primary-nav a {
  font-size: 14px;
  font-weight: 600;
  color: #4e6276;
}
.primary-nav a:hover,
.primary-nav a.active { color: var(--pink); }
.nav-actions { display: flex; align-items: center; gap: 10px; }

.button {
  min-height: 44px;
  padding: 0 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-weight: 700;
  font-size: 14px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
  color: #fff;
  background: var(--pink);
  box-shadow: 0 10px 24px rgba(239,49,88,.22);
}
.button-primary:hover { background: var(--pink-dark); }
.button-ghost { color: #4b6178; border-color: #d9e2ea; background: rgba(255,255,255,.65); }
.button-secondary { color: var(--blue); background: #fff; border-color: #c9d8e7; }
.button-large { min-height: 54px; padding: 0 28px; font-size: 15px; border-radius: 10px; }
.play-icon { font-size: 12px; }

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  padding: 8px;
}
.menu-button span:not(.sr-only) {
  display: block;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  border-radius: 2px;
}

.hero {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  background: linear-gradient(90deg, #fff 0%, #fff 42%, rgba(255,255,255,.65) 56%, rgba(255,255,255,.05) 100%);
}
.hero-image {
  position: absolute;
  inset: 0 0 0 38%;
  background: url("images/matchbay-hero.jpg") center 40% / cover no-repeat;
}
.hero-fade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #fff 0%, rgba(255,255,255,.98) 35%, rgba(255,255,255,.76) 48%, rgba(255,255,255,.16) 70%, rgba(255,255,255,0) 100%),
    linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,0) 62%);
}
.hero-grid {
  position: relative;
  z-index: 2;
  min-height: 680px;
  display: grid;
  align-items: center;
}
.hero-copy { max-width: 650px; padding: 48px 0 62px; }
.hooks {
  margin: 0 0 24px;
  padding-left: 22px;
  max-width: 610px;
}
.hooks li {
  margin: 0 0 8px;
  font: 600 17px/1.42 Manrope, sans-serif;
  color: #586b7e;
}
.hooks li::marker { color: var(--pink); font-size: 1.15em; }

h1,h2,h3 { margin-top: 0; font-family: Manrope, sans-serif; color: var(--navy); }
.hero h1 {
  margin-bottom: 24px;
  font-size: clamp(48px, 5.5vw, 76px);
  line-height: .99;
  letter-spacing: -4px;
}
.hero h1 span { color: var(--pink); }
.hero-intro {
  max-width: 580px;
  margin: 0 0 30px;
  font-size: 18px;
  line-height: 1.65;
  color: #67798a;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 32px; }
.trust-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
  color: #50667a;
}
.trust-strip span { display: inline-flex; align-items: center; gap: 7px; }
.trust-strip svg { width: 18px; fill: #229969; }
.trust-strip i { width: 1px; height: 16px; background: #cdd7df; }

.benefits { background: var(--cream); border-top: 1px solid #f2ebe3; border-bottom: 1px solid #f2ebe3; }
.benefits-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.benefit {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  padding: 31px 26px;
  border-right: 1px solid #eee5dc;
}
.benefit:first-child { padding-left: 0; }
.benefit:last-child { border-right: 0; padding-right: 0; }
.icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.icon svg { width: 24px; height: 24px; fill: currentColor; }
.icon-heart { color: var(--pink); background: #fde7ec; }
.icon-shield { color: #27895c; background: #e2f3e9; }
.icon-lock { color: var(--blue); background: #e6eef9; }
.icon-people { color: #a65d20; background: #f7eadb; }
.benefit h2 { margin-bottom: 6px; font-size: 16px; }
.benefit p { margin: 0; color: #748494; line-height: 1.5; font-size: 13px; }

.story-section { padding: 90px 0; background: #fff; }
.section-heading { max-width: 760px; margin-bottom: 42px; }
.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: 12px;
  font-weight: 800;
  color: var(--pink);
}
.section-heading h2,
.about-section h2,
.waitlist-section h2 {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -2px;
  margin-bottom: 16px;
}
.section-heading p,
.about-section p,
.waitlist-section p { font-size: 17px; line-height: 1.7; color: var(--muted); }

.story-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.story-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow);
}
.story-card img { width: 100%; height: 250px; object-fit: cover; }
.story-card div { padding: 24px; }
.story-card span { color: var(--pink); font-weight: 800; font-size: 13px; }
.story-card h3 { margin: 8px 0 8px; font-size: 22px; }
.story-card p { margin: 0; color: var(--muted); line-height: 1.6; }

.about-section {
  padding: 88px 0;
  background: linear-gradient(rgba(244,248,252,.94), rgba(244,248,252,.94)), url("images/soft-background.jpg") center/cover;
}
.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: start; }
.about-section p:first-child { margin-top: 40px; }

.waitlist-section { padding: 92px 0; }
.waitlist-box {
  padding: 48px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 50px;
  align-items: center;
  border-radius: 26px;
  background: #f8fbfd;
  border: 1px solid var(--line);
}
.waitlist-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.waitlist-form label { display: grid; gap: 8px; font-size: 13px; font-weight: 700; color: #52677b; }
.waitlist-form input {
  width: 100%;
  min-height: 50px;
  border: 1px solid #cfdbe5;
  border-radius: 9px;
  padding: 0 14px;
  background: #fff;
}
.waitlist-form button { grid-column: 1 / -1; }

footer { padding: 32px 0; border-top: 1px solid var(--line); }
.footer-wrap { display: flex; justify-content: space-between; align-items: center; gap: 25px; }
.footer-wrap p { color: var(--muted); }
.footer-wrap > a:last-child { color: var(--blue); font-weight: 700; }

@media (max-width: 1040px) {
  .nav-wrap { grid-template-columns: auto auto; justify-content: space-between; }
  .menu-button { display: block; }
  .primary-nav, .nav-actions {
    display: none;
    grid-column: 1 / -1;
  }
  .site-header.open .primary-nav,
  .site-header.open .nav-actions { display: flex; }
  .site-header.open .primary-nav { flex-direction: column; align-items: flex-start; padding: 16px 0; }
  .site-header.open .nav-actions { padding: 0 0 18px; }
  .hero-image { inset-left: 46%; }
  .benefits-grid { grid-template-columns: repeat(2,1fr); }
  .benefit:nth-child(2) { border-right: 0; }
  .benefit:nth-child(-n+2) { border-bottom: 1px solid #eee5dc; }
  .benefit:first-child, .benefit:last-child { padding: 31px 26px; }
}
@media (max-width: 760px) {
  .container { width: min(100% - 28px, 1180px); }
  .brand-mark { width: 44px; height: 44px; }
  .brand-name { font-size: 24px; }
  .hero { min-height: auto; padding-bottom: 320px; }
  .hero-image { inset: auto 0 0 0; height: 360px; background-position: center 30%; }
  .hero-fade {
    background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,.97) 56%, rgba(255,255,255,.38) 72%, rgba(255,255,255,0) 100%);
  }
  .hero-grid { min-height: auto; }
  .hero-copy { padding: 42px 0 25px; }
  .hooks li { font-size: 15px; }
  .hero h1 { font-size: 47px; letter-spacing: -2.7px; }
  .hero-intro { font-size: 16px; }
  .hero-actions { display: grid; }
  .trust-strip { align-items: flex-start; flex-direction: column; }
  .trust-strip i { display: none; }
  .benefits-grid, .story-grid, .about-grid, .waitlist-box { grid-template-columns: 1fr; }
  .benefit { border-right: 0; border-bottom: 1px solid #eee5dc; padding: 26px 0 !important; }
  .benefit:last-child { border-bottom: 0; }
  .story-section, .about-section, .waitlist-section { padding: 65px 0; }
  .story-card img { height: 220px; }
  .about-section p:first-child { margin-top: 0; }
  .waitlist-box { padding: 28px 22px; gap: 24px; }
  .waitlist-form { grid-template-columns: 1fr; }
  .footer-wrap { flex-direction: column; align-items: flex-start; }
}


/* =========================================================
   WIDESCREEN DESKTOP FIX
   Keeps the site centred, but removes the huge left-side gap.
   ========================================================= */
@media (min-width: 1041px) {
  .container {
    width: 92vw;
    max-width: none;
    margin-inline: auto;
  }

  .hero-image {
    left: 38%;
    right: 4vw;
  }
}
