/* ========================================================================
   Reach Plus landing page
   Built to match Figma file 11599816949 Project Lynx (frame 1:2 desktop,
   frame 17:3 mobile). Clean rebuild — mobile-first, semantic, no JS.
   ======================================================================== */

:root {
  /* Brand colours (Figma brand-guide) */
  --shade:     #344157;
  --haze:      #F5F7F9;
  --white:     #ffffff;
  --energy:    #3F8CFF;
  --text-soft: #5a6577;
  --rule:      #d8dde4;

  /* Layout */
  --max-content:   1624px;
  --gutter-mobile: 1.5rem;
  --gutter-desk:   clamp(2rem, 7.7vw, 9.25rem);

  --font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI",
          Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---- Reset ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.5;
  color: var(--shade);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main { flex: 1; }
a { color: inherit; text-decoration: none; }
ul, li { list-style: none; }
img, svg { display: block; max-width: 100%; height: auto; }
button { font-family: inherit; font-size: inherit; }

/* ---- Accessibility helpers ----------------------------------------- */
.skip {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px; overflow: hidden;
}
.skip:focus {
  position: fixed; top: 1rem; left: 1rem;
  width: auto; height: auto; overflow: visible;
  padding: 0.75rem 1.25rem;
  background: var(--white); color: var(--shade);
  font-weight: 500;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 1000;
}
:focus-visible {
  outline: 3px solid var(--energy);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ========================================================================
   HEADER
   Figma exported the gradient direction backwards on Rectangle 2.
   Figma raw: linear-gradient(84deg, #D9D9D9 -76.01%, #FFF 66.51%)
     → would render grey-left / white-right.
   We want visually: white-left (under the logo) / grey-right.
   Mirror the angle horizontally: 84° → 276° (same upward tilt, flipped).
   Desktop: 148px tall, logo top-left. Mobile: 70px tall, logo centred.
   ======================================================================== */
.site-header {
  background: linear-gradient(276deg, #D9D9D9 -76.01%, #FFF 66.51%);
  position: relative;
  z-index: 2;
}
.site-header-inner {
  max-width: var(--max-content);
  margin: 0 auto;
  min-height: 70px;
  padding: 17px var(--gutter-mobile);
  display: flex;
  align-items: center;
  justify-content: center;  /* mobile */
}
.logo-link { display: inline-flex; }
.logo-link img {
  width: 145px;
  height: 36px;
  flex-shrink: 0;
}

/* ========================================================================
   HERO
   Figma: Haze background, R watermark behind text, van image right.
   Mobile stacks: eyebrow → h1 → body → image.
   Desktop is a 2-col grid with text left, van image right.
   ======================================================================== */
.hero {
  position: relative;
  background-color: var(--haze);
  overflow: hidden;
  padding: 2rem var(--gutter-mobile);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('assets/r-watermark.svg') no-repeat;
  background-position: -10% center;
  background-size: auto 110%;
  pointer-events: none;
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-content);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.hero-text {
  padding: 0;
}

/* Eyebrow — Figma "LAUNCHING SOON" — Poppins 700 24px/44px Energy blue */
.hero-eyebrow {
  font-size: 1rem;
  font-weight: 700;
  color: var(--energy);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 2.8rem;
}

/* H1 — Figma: Poppins 900 54.75px/58px Shade, uppercase */
.hero h1 {
  font-size: clamp(2.125rem, 4.2vw, 3.42rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--shade);
  margin-bottom: 1.5rem;
  max-width: 20ch;
}

/* Hero body — Figma: Poppins 400 18px/24px (mobile 16px/24px) Shade */
.hero-body {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--shade);
  max-width: 60ch;
}
/* Tiny gap between sentence 1 and sentence 2 of the hero body */
.hero-body-line-2 {
  display: inline-block;
  margin-top: 0.4em;
}

.hero-media {
  margin: 2rem calc(var(--gutter-mobile) * -1) 0;  /* bleed to edges on mobile */
}
.hero-media img {
  width: 100%;
  height: auto;
  display: block;
}

/* ========================================================================
   FEATURE BAND
   Figma: Energy blue full-width band, heading left (desktop) /
   centred (mobile), 4 white icons with vertical dividers between.
   ======================================================================== */
.feature-band {
  background: var(--energy);
  color: var(--white);
  padding: 2.5rem var(--gutter-mobile);
}
.feature-band-inner {
  max-width: var(--max-content);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

/* Band heading — Figma: Poppins 900 40px/44px white uppercase */
.band-heading {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: var(--white);
  text-align: center;
}

.band-icons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 2rem;
  align-items: center;
  justify-items: center;
  width: 100%;
  max-width: 500px;
}
.band-icons li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
}
.band-icons img {
  height: 56px;
  width: auto;
  max-width: 100%;
}

/* ========================================================================
   FOOTER
   ======================================================================== */
footer {
  background: var(--white);
  padding: 2rem var(--gutter-mobile);
  border-top: 1px solid var(--rule);
}
.footer-inner {
  max-width: var(--max-content);
  margin: 0 auto;
  color: var(--text-soft);
  font-size: 0.875rem;
  text-align: center;
}

/* ========================================================================
   DESKTOP  >=1024px
   ======================================================================== */
@media (min-width: 1024px) {

  /* Header: 148px tall, logo top-left, full-size logo */
  .site-header-inner {
    padding: 49px var(--gutter-desk);
    min-height: 148px;
    justify-content: flex-start;
  }
  .logo-link img {
    width: 199px;
    height: 50px;
  }

  /* Hero: 2-col grid, text left + van right, watermark slightly left */
  .hero {
    padding: 4rem var(--gutter-desk);
  }
  .hero::before {
    background-position: -8% center;
    background-size: auto 120%;
  }
  .hero-inner {
    display: grid;
    grid-template-columns: minmax(420px, 1fr) minmax(560px, 1.15fr);
    gap: clamp(2rem, 5vw, 6rem);
    align-items: center;
    min-height: 680px;
  }
  .hero-text {
    align-self: start;     /* pull text column to top of grid row */
    padding-top: 3rem;     /* ~48px above eyebrow */
  }

  /* Eyebrow: 24px per Figma */
  .hero-eyebrow {
    font-size: 1.5rem;           /* 24px */
    line-height: 1.2;
    margin-bottom: 4.2rem;
  }

  .hero h1 {
    max-width: 22ch;
    margin-bottom: 2.25rem;
  }
  .hero-body {
    font-size: 1.125rem;         /* 18px Figma */
    line-height: 1.45;
    max-width: 36rem;            /* 576px — matches Figma body box ~564px */
  }
  .hero-media { margin: 0; }
  .hero-media img {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 620px;
  }

  /* Feature band: full 2-col row, heading LEFT, icons RIGHT with 3 dividers */
  .feature-band {
    padding: 2rem var(--gutter-desk);
    min-height: 261px;
    display: flex;
    align-items: center;
  }
  .feature-band-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
    width: 100%;
  }
  .band-heading {
    text-align: left;
    max-width: 20ch;
    flex-shrink: 0;
  }
  .band-icons {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    max-width: none;
    flex: 1;
  }
  .band-icons li {
    position: relative;
    padding: 0.5rem clamp(1rem, 2vw, 2rem);
    min-height: 109px;
  }
  /* Divider — Figma: solid white, 2px, ~106px tall, midway between icons */
  .band-icons li:not(:first-child)::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 106px;
    background: rgba(255,255,255,0.9);
  }
  .band-icons img {
    height: 72px;
  }
}

/* Larger desktop polish */
@media (min-width: 1440px) {
  .hero-inner { min-height: 760px; }
}

/* Print */
@media print {
  .skip, .feature-band, footer { display: none; }
  .hero { padding: 1rem 0; background: var(--white); }
  .hero::before { display: none; }
  .hero-media img { max-height: 300px; }
  body { color: var(--shade); font-size: 12pt; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  html { scroll-behavior: auto; }
}
