/* Shared styling for the two boostyourbenefit.com landing pages.
 *
 * The palette and type are MEASURED off joinhealthpass.com (2026-09-16) rather
 * than guessed: #F94044 is the exact coral its CTA buttons use, Inter at weight
 * 800 is what its headings are set in, and the soft pink band, the white
 * rounded cards and the coral "eyebrow" line above each heading are all its own
 * patterns. Michael asked for these to look like the homepage, so they reuse
 * its vocabulary rather than inventing a second one.
 */

:root {
  --coral: #f94044;
  --coral-dark: #dd3539;
  --coral-soft: #fde8e8;
  --navy: #0e2a47;
  --navy-deep: #0a2138;
  --ink: #1f2937;
  --muted: #51515c;
  --line: #e4e7ec;
  --field: #ffffff;
  --page: #ffffff;
  --shadow: 0 18px 40px rgba(14, 42, 71, 0.10);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.wrap {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- header ------------------------------------------------------------- */

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 22px;
  color: var(--coral);
  letter-spacing: -0.4px;
  text-decoration: none;
}

.brand svg { flex: none; }

/* --- type --------------------------------------------------------------- */

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

h1, h2, h3 { margin: 0; letter-spacing: -0.8px; font-weight: 800; }

h1 { font-size: clamp(38px, 6vw, 68px); line-height: 1.04; }
h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.14; }
h3 { font-size: 19px; letter-spacing: -0.2px; }

.lede {
  margin: 18px 0 0;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.6;
  color: var(--muted);
  max-width: 62ch;
}

/* Emphasis inside a lede paragraph. Michael bolds one phrase in his blueprint
   and the muted body colour would otherwise swallow it. */
.lede strong { color: var(--ink); font-weight: 700; }

/* --- buttons ------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border: 0;
  border-radius: 9px;
  background: var(--coral);
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
  transition: background 120ms ease;
}

.btn:hover { background: var(--coral-dark); }
.btn:disabled { opacity: 0.6; cursor: default; }
.btn-block { width: 100%; }

/* --- hero --------------------------------------------------------------- */

.hero {
  position: relative;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
}

/* Keeps white text readable whatever the photograph is doing underneath. */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(10, 33, 56, 0.94) 0%,
    rgba(10, 33, 56, 0.80) 45%,
    rgba(10, 33, 56, 0.55) 100%
  );
}

.hero .wrap {
  position: relative;
  z-index: 1;
  padding-top: 92px;
  padding-bottom: 92px;
}

.hero h1 { color: #fff; max-width: 15ch; }
.hero .lede { color: rgba(255, 255, 255, 0.86); }
.hero .eyebrow { color: var(--coral); }

.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }

/* The three claim chips under the homepage hero. */
.chips {
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.chip-icon {
  flex: none;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--coral);
}

/* --- sections ----------------------------------------------------------- */

.section { padding: 84px 0; }
.section-soft { background: var(--coral-soft); }
.section-tint { background: #f7f9fc; }
.section-head { max-width: 46rem; }
.section-head.center { margin: 0 auto; text-align: center; }

.cards {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.card-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--coral-soft);
  margin-bottom: 18px;
}

.card h3 { margin-bottom: 8px; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* A benefit line with a tick, used down the left of lander B. */
.ticks { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 16px; }

.tick {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 18px;
  font-weight: 700;
}

.tick-mark {
  flex: none;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--coral);
}

/* --- forms -------------------------------------------------------------- */

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.form-card h2 { font-size: 27px; }
.form-card .lede { margin-top: 10px; font-size: 16px; }

.field-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }

.field label {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field select {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid #cbd4de;
  border-radius: 11px;
  background: var(--field);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(249, 64, 68, 0.14);
}

.field select { appearance: none; background-image: none; }

/* The honeypot. Hidden from people, irresistible to bots. Not display:none,
   which some bots skip; off-screen and untabbable instead. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note { margin: 16px 0 0; font-size: 13px; color: var(--muted); }

.form-status {
  margin: 16px 0 0;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 15px;
  display: none;
}

.form-status.error {
  display: block;
  background: #fff3f2;
  border: 1px solid #ffd6d2;
  color: #b3262a;
}

.form-done {
  display: none;
  text-align: center;
  padding: 26px 8px;
}

.form-done .tick-mark {
  width: 52px;
  height: 52px;
  margin: 0 auto 18px;
}

.form-done h3 { font-size: 22px; margin-bottom: 10px; }
.form-done p { margin: 0; color: var(--muted); }

/* --- footer ------------------------------------------------------------- */

.site-footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: 14px;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  align-items: center;
  justify-content: center;
  text-align: center;
}

@media (max-width: 720px) {
  .field-grid { grid-template-columns: 1fr; }
  .hero .wrap { padding-top: 64px; padding-bottom: 64px; }
  .section { padding: 60px 0; }
}
