/* ==========================================================================
   Engage template (tpl-engage.php) — layout, model cards, partner accordion,
   process rail, closing CTA. Shared primitives (buttons, cards, typography,
   eyebrow, chip) come from global.css / design-system.css; this file only
   adds what's specific to this page.
   ========================================================================== */

.engage-static {
  --eg-navy: var(--ds-navy, #0a1526);
  --eg-navy-soft: var(--ds-navy-soft, #0f2033);
  --eg-section-pad-y: 5.5rem;
  --eg-section-pad-y-sm: 3.5rem;
  --eg-card-radius: 1.25rem;
  --eg-border-light: rgba(10, 21, 38, 0.08);
  --eg-border-dark: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.engage-static svg {
  flex-shrink: 0;
}

.engage-static .btn-icon {
  width: 1rem;
  height: 1rem;
}

.engage-static section {
  padding-top: var(--eg-section-pad-y);
  padding-bottom: var(--eg-section-pad-y);
}

@media (max-width: 767px) {
  .engage-static section {
    padding-top: var(--eg-section-pad-y-sm);
    padding-bottom: var(--eg-section-pad-y-sm);
  }
}

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

.eg-section-head h2 {
  color: var(--Main-Color-Main-Text, #231f20);
}

.eg-section-head .eyebrow {
  justify-content: center;
  margin-bottom: 0.75rem;
}

/* ---------- Hero ---------- */
.engage-static .eg-hero {
  position: relative;
  background: var(
    --ds-hero-bg,
    linear-gradient(180deg, #052536 0%, #021b28 100%)
  );
  color: #fff;
  padding-top: calc(var(--ds-header-h, 88px) + 3rem);
  padding-bottom: 5rem;
  overflow: hidden;
}

.eg-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ds-hero-glow);
  pointer-events: none;
}

.eg-hero-inner {
  position: relative;
  display: flex;
  align-items: stretch;
}

.eg-hero-copy {
  flex: 0 1 auto;
  width: 620px;
  max-width: 100%;
}

.eg-hero-divider {
  box-sizing: content-box;
  display: flex;
  width: 2px;
  padding: 0 5rem;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  flex-shrink: 0;
  align-self: stretch;
  background-color: var(--eg-border-dark);
  background-clip: content-box;
}

.eg-hero .chip {
  border-radius: 20px;
  border: 1px solid rgba(49, 170, 236, 0.5);
  background: rgba(49, 170, 236, 0.15);
  color: var(--ds-color-accent, #31aaec);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 155%;
  gap: 0.5rem;
}

.eg-hero-chip-dot {
  width: 6px;
  height: 6px;
  aspect-ratio: 1 / 1;
  border-radius: 9999px;
  background: var(--ds-color-accent, #31aaec);
  flex-shrink: 0;
}

.eg-hero-quote {
  margin-top: 1.25rem;
  color: var(--Main-Color-White, #fff);
  font-family: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-size: 20px;
  font-style: italic;
  font-weight: 500;
  line-height: 140%; /* 28px */
}

.eg-hero-copy h1 {
  color: var(--Main-Color-White, #fff);
  margin-top: 0.75rem;
}

.eg-hero-highlight {
  color: var(--Main-Color-Main-Color, #31aaec);
}

.engage-static .eg-hero-lead {
  margin-top: 1.25rem;
  color: var(--Main-Color-Gray, #c2c6d6);
  font-family: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%; /* 27px */
}

.eg-hero-actions .btn-primary {
  font-size: 18px;
  line-height: 150%; /* matches .eg-hero-secondary so both buttons render the same height */
}

.eg-hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.eg-hero-secondary {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 16px 48px;
  border-radius: 32px;
  border: 1px solid var(--Main-Color-White, #fff);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--Main-Color-White, #fff);
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  font-family: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%; /* 27px */
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.eg-hero-secondary:hover,
.eg-hero-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  color: var(--Main-Color-White, #fff);
}

.eg-hero-list {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.eg-hero-list-link {
  display: block;
  cursor: pointer;
  text-decoration: none;
}

.engage-static .eg-hero-list-item h3 {
  color: var(--Main-Color-White, #fff);
  font-family: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 130%; /* 31.2px */
}

.engage-static .eg-hero-list-item p {
  margin-top: 0.35rem;
  color: var(--Main-Color-Gray, #c2c6d6);
  font-family: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%; /* 27px */
}

@media (max-width: 900px) {
  .eg-hero-inner {
    flex-direction: column;
  }

  .eg-hero-divider {
    width: auto;
    height: 2px;
    padding: 24px 0;
    align-self: stretch;
  }

  .eg-hero-list {
    margin-top: 0;
  }
}

/* ---------- Three models ---------- */
.eg-models {
  background: var(--ds-color-white, #fff);
}

.eg-models-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.eg-model-card {
  display: flex;
  padding: 32px 24px;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  border-radius: 16px;
  background: var(--card-bg, linear-gradient(180deg, #052536 0%, #021b28 100%));
  color: #fff;
  scroll-margin-top: 5rem;
}

.eg-model-badge {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--ds-color-accent, #31aaec);
}

.eg-model-badge svg {
  width: 24px;
  height: 24px;
}

.eg-model-badge span {
  color: var(--Main-Color-Main-Color, #31aaec);
  font-family: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 130%; /* 31.2px */
}

.engage-static .eg-model-heading {
  margin-top: 1rem;
  min-height: 49.6px; /* reserve 2 lines so all three card headings end at the same height */
  color: var(--Main-Color-White, #fff);
  font-family: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 155%; /* 24.8px */
}

.engage-static .eg-model-desc {
  margin-top: 0.75rem;
  color: var(--Main-Color-Gray, #c2c6d6);
  font-family: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 155%; /* 24.8px */
}

.eg-model-fit {
  display: flex;
  margin-top: 1.5rem;
  padding: 13px 16px 14px 16px;
  flex-direction: column;
  align-items: flex-start;
  gap: 4.795px;
  align-self: stretch;
  border-radius: 10px;
  border: 1px solid rgba(49, 170, 236, 0.2);
  background: rgba(49, 170, 236, 0.08);
}

.eg-model-fit-label {
  display: block;
  color: var(--Main-Color-Main-Color, #31aaec);
  font-family: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 155%; /* 21.7px */
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.eg-model-fit p {
  margin: 0;
  color: var(--Main-Color-Gray, #c2c6d6);
  font-family: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 155%; /* 21.7px */
}

.eg-model-checklist {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.eg-model-check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--Main-Color-Gray, #c2c6d6);
  font-family: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 155%; /* 21.7px */
}

.eg-model-check-item svg {
  width: 14px;
  height: 14px;
  margin-top: 0.3rem;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .eg-models-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Partner ---------- */
.eg-partner {
  background: var(--ds-color-tint, #eff4ff);
  scroll-margin-top: 5rem;
}

.eg-partner-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.4fr;
  gap: 3.5rem;
  align-items: start;
}

.eg-partner-icon {
  display: flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.eg-partner-icon svg {
  width: 32px;
  height: 32px;
}

.eg-partner-copy h2 {
  color: var(--Main-Color-Main-Text, #231f20);
  font-family: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-size: 32px;
  font-style: normal;
  font-weight: 600;
  line-height: 135%; /* 43.2px */
}

.eg-partner-shapes {
  display: block;
  margin-top: 0.85rem;
  font-family: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 155%; /* 21.7px */
  background: var(
    --Gradient-Text,
    linear-gradient(90deg, #31aaec 28.27%, #167cb4 82.58%)
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.engage-static .eg-partner-copy p.body-md {
  margin-top: 1rem;
  color: var(--Main-Color-Sub-text, #8d8d8e);
  font-family: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 155%; /* 24.8px */
}

.eg-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.eg-accordion-item {
  background: var(--ds-color-white, #fff);
  border: 1px solid var(--eg-border-light);
  border-left: 3px solid transparent;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(16, 30, 51, 0.05);
  transition: border-color 0.2s ease;
}

.eg-accordion-item.is-open {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
  align-self: stretch;
  padding: 32px 36px;
  border: none;
  border-left: 6px solid var(--Main-Color-Main-Color, #31aaec);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.08);
}

.eg-accordion-item.is-open .eg-accordion-trigger {
  padding: 0;
  align-self: stretch;
}

.eg-accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.eg-accordion-number {
  display: flex;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--ds-color-accent, #31aaec);
  color: #fff;
  font-family: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.engage-static .eg-accordion-title {
  flex: 1;
  color: var(--Main-Color-Main-Text, #231f20);
  font-family: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 155%; /* 27.9px */
}

.eg-accordion-chevron {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--ds-color-subtext, #8d8d8e);
  transition: transform 0.2s ease;
}

.eg-accordion-item.is-open .eg-accordion-chevron {
  transform: rotate(180deg);
  color: var(--ds-color-accent, #31aaec);
}

.eg-accordion-panel {
  display: none;
}

.eg-accordion-item.is-open .eg-accordion-panel {
  display: block;
  align-self: stretch;
  width: 100%;
}

.eg-accordion-badge {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid var(--Main-Color-Main-Color, #31aaec);
  background: rgba(49, 170, 236, 0.1);
  color: var(--Main-Color-Main-Color, #31aaec);
  font-family: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  width: fit-content;
}

.engage-static .eg-accordion-body,
.engage-static .eg-accordion-tags {
  color: var(--Main-Color-Sub-text, #8d8d8e);
  font-family: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 155%; /* 24.8px */
}

.eg-accordion-body {
  margin-top: 1rem;
}

.eg-accordion-tags {
  margin-top: 0.75rem;
}

.eg-accordion-note {
  display: flex;
  margin-top: 1rem;
  padding: 16px;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
  border-radius: 6px;
  border: 1px solid var(--Main-Color-Gray, #c2c6d6);
  background: var(--Main-Color-Light-Bg, #eff4ff);
  color: var(--Main-Color-Sub-text, #8d8d8e);
  font-family: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 155%; /* 21.7px */
}

@media (max-width: 900px) {
  .eg-partner-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Process ---------- */
.eg-process {
  background: var(--eg-navy);
  color: #fff;
}

.eg-process .eg-section-head h2 {
  color: var(--ds-color-white, #fff);
}

.eg-process .eg-section-head p {
  color: var(--ds-color-gray, #c2c6d6);
}

.eg-process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.eg-process-card {
  display: flex;
  padding: 32px 24px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  border-radius: 16px;
  background: var(--card-bg, linear-gradient(180deg, #052536 0%, #021b28 100%));
}

.eg-process-number {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(49, 170, 236, 0.15);
  color: var(--Main-Color-Main-Color, #31aaec);
  font-family: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 155%; /* 21.7px */
}

.eg-process-card h3 {
  margin-top: 1rem;
  color: var(--Main-Color-Main-Color, #31aaec);
  font-family: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 130%; /* 31.2px */
}

.eg-process-card p {
  margin-top: 0.5rem;
  color: var(--Main-Color-Gray, #c2c6d6);
  font-family: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 155%; /* 24.8px */
}

@media (max-width: 1024px) {
  .eg-process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .eg-process-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Closing CTA ---------- */
.eg-cta {
  background: #003856;
  box-shadow: 0 30px 60px -25px rgba(11, 26, 46, 0.6);
  color: #fff;
  text-align: center;
}

.eg-cta-inner {
  max-width: 720px;
  margin: 0 auto;
}

.eg-cta .eyebrow {
  justify-content: center;
  color: var(--Main-Color-White, #fff);
  text-align: center;
}

.eg-cta h2 {
  margin-top: 0.75rem;
  color: var(--Main-Color-White, #fff);
  text-align: center;
  font-family: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-size: 40px;
  font-style: normal;
  font-weight: 600;
  line-height: 135%; /* 54px */
}

.eg-cta-lead {
  margin-top: 1rem;
  color: var(--Main-Color-White, #fff);
  text-align: center;
  font-family: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 155%; /* 27.9px */
}

.eg-cta-actions .btn-primary {
  font-size: 18px;
  line-height: 150%; /* matches .eg-cta-secondary so both buttons render the same height */
}

.eg-cta-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.eg-cta-secondary.btn-outline {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 16px 48px;
  border-radius: 32px;
  border: 1px solid var(--Main-Color-White, #fff);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--Main-Color-White, #fff);
  text-align: center;
  font-family: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%; /* 27px */
}

.eg-cta-secondary.btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.engage-static .eg-cta-note {
  margin-top: 1.5rem;
  color: var(--Main-Color-White, #fff);
  text-align: center;
  font-family: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 155%; /* 27.9px */
}

.eg-cta-note a {
  color: var(--Main-Color-White, #fff);
  font-family: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 155%;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: auto;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-underline-position: from-font;
}

.eg-cta-fineprint {
  margin-top: 0.5rem;
  color: var(--Main-Color-White, #fff);
  text-align: center;
  font-family: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  font-style: italic;
  font-weight: 400;
  line-height: 155%; /* 24.8px */
}
