/* ===========================================================
   Integrated Benefit Systems - landing pages (shared)
   =========================================================== */

/* 1. Global */
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: #1B2F52;
  background: #FFFFFF;
}
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, blockquote, figure { overflow-wrap: break-word; }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
}

.eyebrow {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  color: #0E5F8A;
}
.on-navy .eyebrow { color: #9AD66A; }

.h2 {
  margin: 0;
  font-size: clamp(30px, 3.6vw, 42px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.h2--sm { font-size: clamp(28px, 3.4vw, 38px); }
.h2--book { font-size: clamp(30px, 3.6vw, 44px); }

.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }

.lead { margin: 0; font-size: 18px; line-height: 1.7; color: #475569; }

.on-navy { background: #1B2F52; color: #FFFFFF; }
.tint { background: #EEF4F9; }

/* 2. Components: buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 44px;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
  border-radius: 10px;
  font-weight: 700;
  box-shadow: 0 1px 2px rgba(18,35,63,.12);
  transition: transform .25s ease, box-shadow .25s ease, background-color .2s ease;
}
.btn-green { background: #9AD66A; color: #12233F; font-size: 17px; padding: 15px 28px; }
.btn-blue  { background: #1579AC; color: #FFFFFF; font-size: 16px; padding: 14px 24px; }
.btn-blue.btn-sm { font-size: 15px; padding: 12px 22px; }
.btn-line {
  background: transparent;
  color: #FFFFFF;
  border: 1px solid #6F87AE;
  font-size: 17px;
  font-weight: 600;
  padding: 14px 26px;
}

/* Cards */
.card {
  position: relative;
  box-sizing: border-box;
  min-width: 0;
  border-radius: 16px;
  transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s ease, border-color .25s ease;
}
/* invisible strip under each card so hover does not flicker at the edge */
.card::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 6px;
}
.card-white {
  background: #FFFFFF;
  border: 1px solid #C9D6E4;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card-navy {
  background: #243B66;
  border: 1px solid #3F5C8F;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card h3 { margin: 0; font-size: 20px; font-weight: 700; line-height: 1.3; }
.card-white p, .card-navy p { margin: 0; font-size: 16px; line-height: 1.6; }
.card-white p { color: #475569; }
.card-navy p { color: #D5E2EF; }

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

.step-num {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 999px;
  background: #9AD66A;
  color: #12233F;
  font-size: 17px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Check list */
.checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.checks li { display: flex; gap: 10px; font-size: 16px; line-height: 1.5; color: #475569; }
.checks svg { margin-top: 2px; flex: none; }

/* 3. Header (not sticky) */
.site-header { background: #F8F9FC; border-bottom: 1px solid #E1E8F0; }
.header-inner {
  padding-top: 14px;
  padding-bottom: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.header-right { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; }
.header-link,
.header-phone {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  box-sizing: border-box;
  font-size: 15px;
  padding: 10px 0;
}
.header-link { font-weight: 500; }
.header-phone { font-weight: 600; }

/* 4. Hero */
.hero-inner {
  padding-top: 72px;
  padding-bottom: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}
.hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.video-frame {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: 860px;
  aspect-ratio: 16 / 9;
  background: #12233F;
  border: 1px solid #3F5C8F;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(8,18,38,.45);
}
/* Applies to the Loom or Vimeo iframe once it is pasted in */
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-placeholder { position: absolute; inset: 0; }
.video-label {
  position: absolute;
  left: 20px;
  top: 16px;
  font-size: 12px;
  letter-spacing: .08em;
  color: #B4C3DA;
}
.play {
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  width: 84px;
  height: 84px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #FFFFFF;
  color: #1B2F52;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: #0C1A33;
  padding: 14px 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 16px;
  font-size: 14px;
  text-align: left;
}
.video-caption strong { font-weight: 700; }
.video-caption .length { color: #B4C3DA; }

.hero-text { max-width: 660px; margin: 0; font-size: 19px; line-height: 1.6; color: #D5E2EF; }
.hero-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chips span {
  background: #243B66;
  color: #D5E2EF;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 999px;
}

/* 5. Sections */
.pad-88 { padding-top: 88px; padding-bottom: 88px; }
.pad-80 { padding-top: 80px; padding-bottom: 80px; }
.stack { display: flex; flex-direction: column; gap: 40px; }

.row { display: flex; flex-wrap: wrap; gap: 48px; }
.row--center { align-items: center; }
.row--start { align-items: flex-start; }
.row > * { min-width: 0; }

.col-text { flex: 1 1 440px; display: flex; flex-direction: column; gap: 20px; }

.stat-card { flex: 1 1 340px; border-radius: 20px; padding: 36px; gap: 8px; }
.stat-num {
  font-size: clamp(40px, 4.4vw, 56px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}
.card-white.stat-card p { font-size: 16px; line-height: 1.5; }

.callout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  align-self: flex-start;
  background: #FFFFFF;
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 1px 3px rgba(27,47,82,.10);
}
.callout-pill {
  background: #1579AC;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
}
.callout-text { font-size: 15px; color: #475569; }

.fit-card { flex: 1 1 360px; border-radius: 20px; padding: 32px; gap: 16px; }
.card.fit-card h3 { font-size: 21px; }
.card-white.fit-card .fine { font-size: 14px; line-height: 1.55; }

/* About */
.about-photo {
  flex: 0 1 320px;
  max-width: 320px;
  width: 100%;
  aspect-ratio: 1 / 1;
  box-sizing: border-box;
  border-radius: 22px;
  overflow: hidden;
  background: #EEF4F9;
  border: 1px solid #C9D6E4;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 15px;
  color: #475569;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.col-about { flex: 1 1 440px; display: flex; flex-direction: column; gap: 18px; }

/* Testimonial */
.proof-inner {
  max-width: 880px;
  padding-top: 80px;
  padding-bottom: 80px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.proof-inner figure { margin: 0; display: flex; flex-direction: column; gap: 24px; }
.proof-inner blockquote {
  margin: 0;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.4;
  font-weight: 600;
  color: #1B2F52;
}
.who { display: flex; gap: 14px; align-items: center; }
.who-photo {
  width: 52px;
  height: 52px;
  flex: none;
  box-sizing: border-box;
  overflow: hidden;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1px solid #C9D6E4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}
.who-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.who-text { display: flex; flex-direction: column; gap: 2px; font-size: 16px; line-height: 1.5; min-width: 0; }
.who-company { color: #475569; }

/* Also from IBS */
.also-inner { padding-top: 16px; padding-bottom: 80px; }
.also-card {
  background: #EEF4F9;
  border: 1px solid #C9D6E4;
  border-radius: 16px;
  padding: 28px 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
}
.also-text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.card .also-text h3 { font-size: 22px; font-weight: 700; }
.also-copy { margin: 0; font-size: 16px; line-height: 1.6; color: #475569; }

/* 7. Booking */
.book-left { flex: 1 1 380px; display: flex; flex-direction: column; gap: 20px; }
.book-intro { margin: 0; font-size: 18px; line-height: 1.65; color: #D5E2EF; }
.book-tel {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 44px;
  padding: 8px 0;
  font-size: 18px;
  font-weight: 700;
  color: #FFFFFF;
}
.book-card {
  flex: 1 1 440px;
  box-sizing: border-box;
  background: #FFFFFF;
  color: #1B2F52;
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
/* Applies to the GoHighLevel calendar iframe once it is pasted in */
.book-card iframe { width: 100%; border: 0; }
.calendar-placeholder {
  min-height: 380px;
  border: 1px dashed #8A99AD;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  font-size: 15px;
  color: #475569;
}
.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.5;
  color: #475569;
}
.consent input { width: 18px; height: 18px; margin: 3px 0 0; flex: none; }
.consent a { color: #0E5F8A; text-decoration: underline; }

/* 8. Footer */
.site-footer { background: #12233F; color: #CBD5E1; }
.footer-inner {
  padding-top: 56px;
  padding-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.footer-top { display: flex; flex-wrap: wrap; gap: 32px 48px; }
.footer-top > div { min-width: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.55; }
.footer-top p { margin: 0; }
.footer-top a { align-self: flex-start; max-width: 100%; overflow-wrap: anywhere; }
.footer-top > .f-brand { flex: 1 1 220px; }
.footer-top > .f-contact { flex: 1 1 240px; }
.footer-top > .f-legal { flex: 1 1 180px; }
.footer-top .f-name { font-size: 19px; font-weight: 800; color: #FFFFFF; }
.footer-top .fhead { font-size: 13px; font-weight: 700; letter-spacing: .08em; color: #FFFFFF; }
.footer-bottom {
  border-top: 1px solid #2A3F63;
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  line-height: 1.6;
  color: #B4C3DA;
}
.footer-bottom p { margin: 0; }

/* Focus rings */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid #1579AC;
  outline-offset: 2px;
}

/* Hover: only where a real pointer exists, so nothing sticks after a tap */
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(18,35,63,.24); }
  .btn-green:hover { background: #B4E58A; }
  .btn-blue:hover { background: #0E5F8A; }
  .btn-line:hover { background: #FFFFFF; color: #1B2F52; }

  body:not(.page-benefits) .card:hover {
    transform: translateY(-4px);
    border-color: #1579AC;
    box-shadow: 0 0 0 3px rgba(21,121,172,.2), 0 12px 28px rgba(27,47,82,.12);
  }
  body:not(.page-benefits) .card.card-navy:hover {
    border-color: #9AD66A;
    box-shadow: 0 0 0 3px rgba(154,214,106,.4), 0 12px 28px rgba(18,35,63,.3);
  }

  .footer-top a:hover { color: #FFFFFF; text-decoration: underline; text-underline-offset: 3px; }
  .book-tel:hover { text-decoration: underline; text-underline-offset: 3px; }
}

/* 9. Responsive */
@media (max-width: 900px) {
  .grid3 { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 767px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .hero-inner { padding-top: 48px; padding-bottom: 48px; }
  .pad-88, .pad-80, .proof-inner { padding-top: 56px; padding-bottom: 56px; }
  .also-inner { padding-bottom: 56px; }
  .row { gap: 32px; }
}

/* Tablets and phones: footer links become 44px rows with no extra space between them */
@media (max-width: 1023px), (pointer: coarse) {
  .footer-top > .f-contact,
  .footer-top > .f-legal { row-gap: 0; }
  .footer-top .fhead { margin-bottom: 4px; }
  .footer-top a { display: inline-flex; align-items: center; min-height: 44px; }
  .footer-top > .f-contact p:not(.fhead) { padding-top: 8px; }
}

@media (max-width: 600px) {
  .header-right { flex: 1 1 100%; }
}

@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; align-self: stretch; }
  .hero-buttons .btn { width: 100%; }
  /* smaller play button, kept clear of the label and caption in the short frame */
  .play { width: 64px; height: 64px; top: 40%; }
  .play svg { width: 24px; height: 24px; }
  .video-label { left: 14px; top: 10px; }
  .video-caption { padding: 8px 14px; gap: 0 12px; font-size: 13px; line-height: 1.35; }
}

/* Very narrow phones: the video frame is only about 160px tall */
@media (max-width: 359px) {
  .play { top: 38%; }
  .video-caption { padding: 6px 12px; font-size: 12px; }
}

/* ===== Benefits page: conversion improvements (scoped; other page unchanged) ===== */
.page-benefits .col-text .section-cta { align-self: flex-start; margin-top: 4px; }
.page-benefits .stack > .section-cta { align-self: center; }
.page-benefits .also-below { padding-top: 80px; }

@media (max-width: 767px) {
  /* keep the first booking button on the opening screen */
  .page-benefits .hero-inner { padding-top: 32px; gap: 20px; }
  .page-benefits .hero-text { font-size: 17px; }
  .page-benefits .also-below { padding-top: 56px; }
}

@media (max-width: 480px) {
  .page-benefits .col-text .section-cta,
  .page-benefits .stack > .section-cta { align-self: stretch; }
}

@media (max-width: 359px) {
  .page-benefits .hero-inner { padding-top: 16px; gap: 12px; }
  .page-benefits .hero-text { font-size: 16px; line-height: 1.5; }
}

/* Benefits page: video */
.page-benefits .video-section { display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; }
.page-benefits .video-block { width: 100%; max-width: 860px; margin: 0; }
.video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
/* The video file has black bars baked into its sides (9px left, 10px right of 1280).
   A slightly narrower frame plus "cover" trims about 14px off each side and nothing off the top or bottom. */
.page-benefits .video-frame { aspect-ratio: 1248 / 720; }
.page-benefits .video-frame video { object-fit: cover; }
.page-benefits .video-frame video::cue { font-family: Inter, system-ui, sans-serif; background: rgba(0,0,0,.78); color: #FFFFFF; }
/* the browser's default caption size is too small to read on a phone */
@media (max-width: 767px) { .page-benefits .video-frame video::cue { font-size: 13px; } }
.video-block figcaption { padding-top: 12px; font-size: 14px; color: #475569; }

@media (max-width: 767px) {
  .page-benefits .video-section { padding-top: 56px; padding-bottom: 56px; gap: 20px; }
}

/* Benefits page: request form */
.call-form { display: flex; flex-direction: column; gap: 16px; }
.call-form[hidden] { display: none; }
.call-form .form-title { margin: 0; font-size: 21px; }
.form-note { margin: 0; font-size: 14px; line-height: 1.5; color: #475569; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.field input {
  box-sizing: border-box;
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid #8A99AD;
  border-radius: 10px;
  font-family: inherit;
  font-size: 16px;
  color: inherit;
}
.form-send { width: 100%; min-height: 52px; border: 0; font-family: inherit; }
.form-status { margin: 0; font-size: 16px; line-height: 1.5; }
.form-status:empty { display: none; }

/* Benefits page: corporate look (photos, backgrounds, icons) */
/* header matches the main IBS website: logo only, 76px tall (48px on phones) */
.page-benefits .site-header { background: #F8F9FC; box-shadow: 0 1px 0 #E1E8F0; }
.page-benefits .header-inner { padding-top: 10px; padding-bottom: 10px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; }
.brand img { display: block; width: auto; height: 76px; flex: none; }

.page-benefits .hero {
  background: #1B2F52 url("../assets/img/hero-team.jpg") center / cover no-repeat;
  position: relative;
  isolation: isolate;
}
/* navy layer keeps the white text easy to read over the photo */
.page-benefits .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(18,35,63,.88), rgba(27,47,82,.84) 55%, rgba(18,35,63,.93));
}
.page-benefits .hero-inner { padding-top: 104px; padding-bottom: 104px; }
.page-benefits .hero h1 { max-width: 1000px; }
.page-benefits .hero h1 span { display: block; text-wrap: balance; }
.page-benefits .hero-text { color: #FFFFFF; }
/* wide enough for two even lines on desktop and tablet; phones are too narrow and wrap further */
@media (min-width: 768px) { .page-benefits .hero-text { max-width: 760px; text-wrap: balance; } }

.page-benefits #overview { background: linear-gradient(180deg, #FFFFFF 40%, #F4F8FB); }
.video-next { margin: 0; font-size: 16px; line-height: 1.6; color: #475569; }
.video-next a { display: inline-block; color: #0E5F8A; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.page-benefits .stat-card { border-top: 5px solid #1579AC; box-shadow: 0 18px 40px rgba(27,47,82,.10); }
.page-benefits #what .card { border-top: 4px solid #1579AC; box-shadow: 0 10px 26px rgba(27,47,82,.07); }
.icon {
  width: 48px;
  height: 48px;
  margin-bottom: 4px;
  border-radius: 12px;
  background: #EEF4F9;
  color: #1579AC;
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-panel { flex: 1 1 400px; border-radius: 22px; overflow: hidden; box-shadow: 0 22px 48px rgba(27,47,82,.18); }
.photo-panel img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.page-benefits #team .checks li { color: #1B2F52; font-size: 17px; }
.fine-note { margin: 0; font-size: 14px; line-height: 1.55; color: #475569; }

/* "How it works": review-notes photo under a navy layer that keeps the text easy to read */
.page-benefits #how {
  background:
    linear-gradient(180deg, rgba(18,35,63,.88), rgba(27,47,82,.80)),
    #1B2F52 url("../assets/img/how-review.jpg") center / cover no-repeat;
}
.page-benefits #how .card-navy { background: rgba(27,47,82,.86); border-color: rgba(143,172,214,.40); box-shadow: 0 18px 40px rgba(8,18,38,.30); }

.page-benefits #book {
  background:
    linear-gradient(90deg, rgba(18,35,63,.94), rgba(27,47,82,.78)),
    #1B2F52 url("../assets/img/book-towers.jpg") center 60% / cover no-repeat;
}
.page-benefits .book-card { box-shadow: 0 24px 60px rgba(8,18,38,.40); }

@media (max-width: 767px) {
  .page-benefits .hero-inner { padding-top: 40px; padding-bottom: 48px; }
  .brand img { height: 48px; }
  .page-benefits .header-inner { padding-top: 8px; padding-bottom: 8px; gap: 8px 12px; }
}
@media (max-width: 359px) {
  .page-benefits .hero-inner { padding-top: 16px; padding-bottom: 32px; }
  .page-benefits .hero h1 { font-size: 29px; }
}

/* Benefits page: corporate footer */
.corp-footer { border-top: 4px solid; border-image: linear-gradient(90deg, #1579AC, #9AD66A) 1; font-size: 15px; line-height: 1.6; }
.corp-footer p { margin: 0; }
.cf-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.5fr 1fr;
  gap: 40px 32px;
  padding-top: 64px;
  padding-bottom: 48px;
}
.cf-grid > * { min-width: 0; }
.cf-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
/* the logo has dark lettering, so it sits on a light panel */
.cf-logo { display: inline-block; background: #FFFFFF; border-radius: 14px; padding: 6px 14px; }
.cf-logo img { display: block; width: 112px; height: 112px; object-fit: contain; }
.cf-tag { color: #D5E2EF; }
.cf-site {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  max-width: 100%;
  box-sizing: border-box;
  padding: 8px 14px;
  border: 1px solid #5A77A8;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #FFFFFF;
  white-space: nowrap;
}
.cf-col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.cf-col a { max-width: 100%; overflow-wrap: anywhere; }
.cf-head { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: #FFFFFF; }
.corp-footer .cf-head { margin-bottom: 8px; }
.cf-person { font-weight: 700; color: #FFFFFF; }
.cf-note { font-size: 13px; color: #9FB2CF; }
.cf-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 32px;
  padding-top: 20px;
  padding-bottom: 24px;
  border-top: 1px solid #2A3F63;
  font-size: 13px;
  color: #B4C3DA;
}
.cf-legal { display: flex; flex-wrap: wrap; gap: 0 28px; }
.cf-legal a { display: inline-flex; align-items: center; min-height: 44px; }

@media (max-width: 1199px) {
  .cf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1023px), (pointer: coarse) {
  .cf-col { row-gap: 0; }
  .cf-col a { display: inline-flex; align-items: center; min-height: 40px; }
  .cf-col p:not(.cf-head):not(.cf-person) { padding-top: 8px; }
}
@media (max-width: 599px) {
  .cf-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 48px; padding-bottom: 32px; }
}

@media (hover: hover) and (pointer: fine) {
  .cf-col a:hover, .cf-legal a:hover { color: #FFFFFF; text-decoration: underline; text-underline-offset: 3px; }
  .cf-site:hover { background: #FFFFFF; color: #1B2F52; }
}

/* Landing page copies of the privacy policy and terms */
.legal-wrap { box-sizing: border-box; max-width: 808px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.legal-title .legal-wrap { padding-top: 56px; padding-bottom: 56px; }
.legal-title h1 { margin: 0; font-size: clamp(32px, 4vw, 46px); line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; }
.legal-body { padding-top: 48px; padding-bottom: 72px; font-size: 17px; line-height: 1.7; color: #475569; }
.legal-body h2 { margin: 40px 0 12px; font-size: 22px; line-height: 1.3; color: #1B2F52; }
.legal-body p { margin: 0 0 14px; }
.legal-body ul { margin: 0 0 14px; padding-left: 22px; }
.legal-body li { margin-bottom: 6px; }
.legal-body .legal-date { font-size: 14px; font-weight: 700; color: #0E5F8A; }
.legal-contacts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 8px; }
.legal-contact { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; padding: 16px 18px; border: 1px solid #C9D6E4; border-radius: 12px; font-size: 15px; }
.legal-contact strong { color: #1B2F52; font-size: 16px; }
.legal-contact a { display: inline-flex; align-items: center; min-height: 40px; max-width: 100%; overflow-wrap: anywhere; color: #0E5F8A; }
.legal-back { padding-top: 32px; }
.legal-back a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: #0E5F8A; }

@media (max-width: 767px) {
  .legal-wrap { padding-left: 16px; padding-right: 16px; }
  .legal-title .legal-wrap { padding-top: 36px; padding-bottom: 36px; }
  .legal-body { padding-top: 32px; padding-bottom: 48px; font-size: 16px; }
}
@media (max-width: 599px) { .legal-contacts { grid-template-columns: minmax(0, 1fr); } }

/* Benefits page: the premium figure card drifts gently up and down.
   Only "transform" is animated, and the card gets its own layer, so the text moves as one
   smooth picture instead of being redrawn (animating the shadow made the text stutter).
   Off for visitors whose device is set to reduce motion. */
.page-benefits .stat-card { box-shadow: 0 20px 40px rgba(27,47,82,.11); }
@media (prefers-reduced-motion: no-preference) {
  .page-benefits .stat-card {
    animation: stat-float 5s ease-in-out infinite;
    will-change: transform;
    backface-visibility: hidden;
  }
}
@keyframes stat-float {
  /* the tiny tilt stops browsers snapping the text to whole pixels as it moves */
  0%, 100% { transform: translate3d(0, 0, 0) rotate(.001deg); }
  50%      { transform: translate3d(0, -14px, 0) rotate(.001deg); }
}

/* Testimonials: one card at a time, styled like the cards in "What the approach aims for" */
#testimonials .section-head { max-width: none; }
#testimonials .h2 { text-wrap: balance; }
.quote-stack { display: grid; grid-template-columns: minmax(0, 1fr); }
.page-benefits .quote-card {
  grid-area: 1 / 1;
  margin: 0;
  gap: 18px;
  padding: 36px;
  border-top: 4px solid #1579AC;
  box-shadow: 0 10px 26px rgba(27,47,82,.07);
  visibility: hidden;
  opacity: 0;
  transition: opacity .3s ease, visibility 0s linear .3s;
}
.page-benefits .quote-card.is-active { visibility: visible; opacity: 1; transition: opacity .3s ease; }
.quote-card .icon { margin: 0; }
.quote-card blockquote { flex: 1; max-width: 820px; margin: 0; font-size: 22px; line-height: 1.6; font-weight: 500; color: #1B2F52; }
.quote-card figcaption { padding-top: 18px; border-top: 1px solid #E1E8F0; font-size: 15px; line-height: 1.6; }
.quote-card figcaption > span { display: flex; flex-direction: column; }
.quote-card figcaption strong { font-size: 16px; }
.quote-card figcaption span span { color: #475569; }
.quote-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-top: -16px; }
.quote-more { border: 0; font-family: inherit; }
.quote-count { margin: 0; font-size: 14px; font-weight: 700; letter-spacing: .08em; color: #475569; }

/* FAQ: the page's white cards in two columns; each opens and closes without any script */
.faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; align-items: start; }
.faq-col { display: flex; flex-direction: column; gap: 16px; }
.faq-item { background: #FFFFFF; border: 1px solid #C9D6E4; border-radius: 16px; box-shadow: 0 10px 26px rgba(27,47,82,.07); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; padding: 22px 24px; cursor: pointer; list-style: none; border-radius: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; flex: none; width: 8px; height: 8px; margin: -4px 4px 0 0; border-right: 2px solid #1579AC; border-bottom: 2px solid #1579AC; transform: rotate(45deg); }
.faq-item[open] summary::after { margin-top: 4px; transform: rotate(225deg); }
.faq-item summary h3 { margin: 0; font-size: 17px; line-height: 1.45; font-weight: 700; }
.faq-item p { margin: 0; padding: 0 24px 24px; font-size: 16px; line-height: 1.65; color: #475569; }
summary:focus-visible { outline: 3px solid #1579AC; outline-offset: 2px; }

/* hover: only with a real mouse or trackpad, so nothing stays highlighted after a tap */
.faq-item { transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.faq-item summary h3, .faq-item summary::after { transition: color .2s ease, border-color .2s ease; }
@media (hover: hover) and (pointer: fine) {
  .faq-item:hover { transform: translateY(-3px); border-color: #1579AC; box-shadow: 0 16px 32px rgba(27,47,82,.14); }
  .faq-item summary:hover h3 { color: #0E5F8A; }
}
@media (prefers-reduced-motion: reduce) {
  .faq-item:hover { transform: none; }
}

/* side by side, closed cards share one height so the two columns line up */
@media (min-width: 901px) { .faq-item summary { box-sizing: border-box; min-height: 94px; } }
@media (max-width: 900px) {
  .faq-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
  .page-benefits .quote-card { padding: 24px 20px; }
  .quote-card blockquote { font-size: 18px; }
  .quote-controls { justify-content: center; }
  .quote-more { flex: 1 1 100%; }
  .faq-item summary { padding: 18px 16px; gap: 12px; }
  .faq-item summary h3 { font-size: 16px; }
  .faq-item p { padding: 0 16px 20px; }
}

/* Data licensing page: same layout as the benefits page, with its own top photo and video shape */
.page-data .hero { background-image: url("../assets/img/data-hero.jpg"); }
/* its own "How it works" photo; the benefits page keeps how-review.jpg */
.page-benefits.page-data #how {
  background:
    linear-gradient(180deg, rgba(18,35,63,.88), rgba(27,47,82,.80)),
    #1B2F52 url("../assets/img/data-how.jpg") center / cover no-repeat;
}
.page-benefits.page-data .video-frame { aspect-ratio: 16 / 9; background: #0A0A0A; }
.page-data .stat-card .stat-num { font-size: clamp(30px, 3.4vw, 42px); line-height: 1.15; }
/* a longer headline than the benefits page, so it is a little smaller to stay on two lines */
@media (min-width: 768px) { .page-benefits.page-data .hero h1 { font-size: clamp(32px, 3.6vw, 48px); } }
.page-data .hero-note { margin: -12px 0 0; font-size: 14px; line-height: 1.5; color: #D5E2EF; }
@media (max-width: 767px) { .page-data .hero h1 { font-size: 30px; } .page-data .hero-note { margin-top: -8px; font-size: 13px; } }
@media (max-width: 359px) { .page-data .hero h1 { font-size: 26px; } .page-data .hero-text { font-size: 15px; } }

@media (max-width: 600px) {
  .page-benefits .header-right { flex: 0 1 auto; margin-left: auto; justify-content: flex-end; gap: 4px 14px; }
}
@media (hover: hover) and (pointer: fine) { .brand:hover, .cf-logo:hover img { opacity: .82; } }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* LinkedIn link under the bio */
.li-link { align-self: flex-start; width: fit-content; max-width: 100%; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 20px; padding: 0 20px; box-sizing: border-box; border: 1.5px solid #0A66C2; border-radius: 8px; background: #FFFFFF; color: #0A66C2; font-size: 15px; font-weight: 600; text-decoration: none; }
.li-link svg { flex: none; }
@media (hover: hover) and (pointer: fine) {
  .li-link:hover { background: #0A66C2; color: #FFFFFF; }
}

/* LinkedIn link in the footer contact column */
.cf-col a.cf-li { display: inline-flex; align-items: center; gap: 8px; }
.cf-li svg { flex: none; }
