/* ------------------------------------------------------------------
 * Elevate landing-page design system.
 *
 * One stylesheet powers every landing page under this Netlify site.
 * When adding a new LP:
 *   - link this file from your <head>
 *   - use the utility classes (.container, .eyebrow, .btn-primary, etc.)
 *   - only add page-specific rules to a per-page stylesheet if you have to
 * -----------------------------------------------------------------*/

:root {
  --navy: #202356;
  --navy-2: #2f3261;
  --blue: #202356;
  --blue-light: #3e417b;
  --orange: #f37c47;
  --orange-dark: #d9662e;
  --ink: #202356;
  --grey: #6b7280;
  --grey-light: #f6f8fa;
  --border: #e9e9ee;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(32, 35, 86, 0.08);
  --shadow-lg: 0 20px 60px rgba(32, 35, 86, 0.14);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: inherit;
}

button {
  font: inherit;
  cursor: pointer;
}

/* ---------- Layout primitives ---------- */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 88px 0;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.eyebrow {
  font-family: 'PT Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
  font-weight: 400;
  color: var(--orange);
  margin-bottom: 14px;
  display: inline-block;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 52px;
}

.section-head h2 {
  font-size: 32px;
}

.section-head p {
  color: var(--grey);
  font-size: 16px;
  margin-top: 12px;
}

/* ---------- Accessibility ---------- */
:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
  border-radius: 4px;
}

.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;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 27, 61, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 16px 0;
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 19px;
  color: var(--white);
}

.logo img {
  height: 28px;
  width: auto;
  display: block;
}

.nav-cta {
  background: var(--orange);
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 12px 22px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(243, 124, 71, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(224, 121, 58, 0.45);
}

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(1100px 500px at 20% -10%, #2f3261 0%, transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy) 100%);
  color: var(--white);
  padding: 72px 0 96px;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  grid-template-areas:
    'headline headline'
    'subcopy  subcopy'
    'video    form';
  gap: 32px;
  align-items: stretch;
}

.hero-headline {
  grid-area: headline;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.hero-headline h1 {
  font-size: 44px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--white);
}

.hero-headline h1 span {
  color: var(--orange);
}

.hero-subcopy {
  grid-area: subcopy;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.hero-subcopy p {
  font-size: 18px;
  color: #cfd2e8;
  margin: 0;
}

.hero-badges {
  display: flex;
  gap: 22px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 26px;
  font-size: 13px;
  color: #a7abd1;
}

.hero-badges div {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-video {
  grid-area: video;
  min-width: 0;
}

.hero-video .video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
}

.hero-video .video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.hero-form-card {
  grid-area: form;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 28px;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.hero-form-card h3 {
  font-size: 19px;
  margin-bottom: 4px;
}

.hero-form-card .sub {
  color: var(--grey);
  font-size: 14px;
  margin-bottom: 18px;
}

/* ---------- Placeholder embed slots (before real widgets load) ---------- */
.embed-slot {
  border: 2px dashed #c7d2ea;
  border-radius: var(--radius);
  background: repeating-linear-gradient(
    135deg,
    #f7f9fd,
    #f7f9fd 10px,
    #f1f4fb 10px,
    #f1f4fb 20px
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--grey);
  padding: 32px;
  gap: 6px;
}

.embed-slot .tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue);
  background: #e8edfb;
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 8px;
}

.embed-slot strong {
  color: var(--ink);
  font-size: 15px;
}

.embed-slot span {
  font-size: 13px;
  max-width: 260px;
}

/* ---------- Authority testimonials ---------- */
.authority-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.authority-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.authority-card .video-embed,
.authority-card .photo-embed {
  position: relative;
  aspect-ratio: 9 / 16;
  background: #000;
  overflow: hidden;
}

.authority-card .video-embed iframe,
.authority-card .video-embed video,
.authority-card .photo-embed img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: cover;
}

.authority-card .category {
  background: var(--orange);
  color: var(--white);
  font-family: 'PT Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
  padding: 7px 10px;
}

.authority-card .card-body {
  padding: 22px;
}

.authority-card .name {
  font-weight: 700;
  font-size: 15px;
}

.authority-card .name a {
  color: inherit;
  text-decoration: none;
}

.authority-card .name a:hover {
  text-decoration: underline;
}

.authority-card .role {
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  margin-top: 2px;
}

.authority-card .meta {
  color: var(--grey);
  font-size: 13px;
  margin-top: 10px;
  line-height: 1.5;
}

.authority-card .quote {
  color: var(--ink);
  font-size: 14px;
  font-style: italic;
  line-height: 1.5;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

.authority-card .quote::before {
  content: '"';
}

.authority-card .quote::after {
  content: '"';
}

.authority-card .stat-pill {
  display: inline-block;
  margin-top: 12px;
  background: #eef3fc;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 100px;
}

/* ---------- Logo strip ---------- */
.logo-strip {
  padding: 40px 0;
  background: var(--grey-light);
}

.logo-strip p {
  text-align: center;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 24px;
}

.logo-strip-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.logo-strip-row img {
  max-width: 140px;
  max-height: 44px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.6;
  transition: filter 0.15s ease, opacity 0.15s ease;
}

.logo-strip-row img:hover {
  filter: grayscale(0);
  opacity: 1;
}

/* ---------- Example video ---------- */
.example-video-wrap {
  max-width: 820px;
  margin: 0 auto;
}

.example-video-wrap .video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.example-video-wrap .video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: 64px 0;
}

.cta-band h2 {
  color: var(--white);
  font-size: 30px;
  max-width: 640px;
  margin: 0 auto 14px;
}

.cta-band p {
  color: #ffe5d1;
  font-size: 16px;
  max-width: 520px;
  margin: 0 auto 30px;
}

.btn-primary {
  display: inline-block;
  background: var(--white);
  color: var(--navy);
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 17px 36px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  transition: transform 0.15s ease;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-2px);
}

/* ---------- Stats ---------- */
.stats {
  background: var(--navy);
  color: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat {
  text-align: center;
  padding: 0 12px;
}

.stat .num {
  font-family: 'PT Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 40px;
  font-weight: 400;
  color: var(--orange);
}

.stat .label {
  font-weight: 600;
  margin-top: 8px;
  font-size: 15px;
  color: var(--white);
}

.stat .desc {
  color: #a7abd1;
  font-size: 13px;
  margin-top: 6px;
}

/* ---------- Reviews ---------- */
.reviews .embed-slot {
  min-height: 320px;
}

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.team-card {
  text-align: center;
}

.team-card a {
  display: block;
}

.team-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 100%;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease;
}

.team-card a:hover img,
.team-card a:focus-visible img {
  transform: translateY(-3px);
}

.team-card .name {
  font-weight: 700;
  margin-top: 14px;
  font-size: 15px;
}

.team-card .role {
  font-family: 'PT Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--orange);
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 4px;
}

/* ---------- Trust badges footer ---------- */
.trust-strip {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-strip-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--ink);
  font-size: 14px;
}

.trust-item .stars {
  color: #f5a623;
}

footer {
  padding: 40px 0;
  text-align: center;
  color: var(--grey);
  font-size: 13px;
}

/* ---------- Responsive breakpoints ---------- */
@media (max-width: 960px) {
  section {
    padding: 72px 0;
  }
  .hero {
    padding-top: 40px;
  }
  .hero-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      'headline'
      'video'
      'subcopy'
      'form';
    gap: 24px;
    align-items: start;
  }
  .hero-headline h1 {
    font-size: 34px;
  }
  .authority-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  .team-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }
  .section-head h2 {
    font-size: 28px;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 18px;
  }
  section {
    padding: 56px 0;
  }
  .nav .container {
    flex-wrap: wrap;
    gap: 10px;
  }
  .logo img {
    height: 22px;
  }
  .nav-cta {
    font-size: 12px;
    padding: 9px 14px;
  }
  .hero {
    padding-top: 28px;
    padding-bottom: 72px;
  }
  .hero-headline h1 {
    font-size: 26px;
    line-height: 1.25;
  }
  .hero-subcopy p {
    font-size: 15px;
  }
  .hero-badges {
    gap: 12px;
    font-size: 12px;
  }
  .hero-form-card {
    padding: 20px;
  }
  .authority-grid {
    grid-template-columns: 1fr;
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .stat .num {
    font-size: 32px;
  }
  .section-head h2 {
    font-size: 24px;
  }
  .cta-band h2 {
    font-size: 22px;
  }
  .cta-band {
    padding: 48px 0;
  }
  .btn-primary {
    padding: 15px 24px;
    font-size: 14px;
  }
  .logo-strip-row {
    gap: 28px;
  }
  .logo-strip-row img {
    max-width: 110px;
    max-height: 36px;
  }
  .trust-strip-row {
    gap: 24px;
    flex-direction: column;
  }
}
