:root {
  --navy: #0b2d52;
  --blue: #1264a3;
  --teal: #0db2ba;
  --text: #173451;
  --muted: #52677c;
  --border: #dfe8f0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #fff;
  color: var(--text);
  line-height: 1.6;
}

/* Header */
header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
}

.nav {
  max-width: 1180px;
  margin: auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-size: 25px;
  font-weight: 800;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
}

.logo span {
  color: #1688e5;
}

nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

nav a {
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  color: #07538f;
}

nav a:hover,
nav a.active {
  color: var(--teal);
}

nav a.login {
  background: var(--navy);
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
}

/* Hero */
.hero {
  background: linear-gradient(115deg, #09294c, #1264a3);
  color: white;
  padding: 70px 24px;
  text-align: center;
}

.hero .inner {
  max-width: 900px;
  margin: auto;
}

.eyebrow {
  color: #91dfff;
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 700;
}

.hero h1 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.2;
  margin: 16px 0 20px;
  color: white;
}

.hero p {
  font-size: 18px;
  max-width: 760px;
  margin: auto;
  color: #e5f2ff;
}

/* Content */
.container {
  max-width: 1120px;
  margin: auto;
  padding: 55px 24px;
}

.intro {
  max-width: 820px;
  text-align: center;
  margin: 0 auto 40px;
}

h2 {
  font-size: clamp(25px, 3vw, 32px);
  line-height: 1.3;
  color: var(--navy);
}

.intro p {
  color: var(--muted);
  font-size: 17px;
}

/* Video cards */
.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  align-items: stretch;
}

.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(10, 42, 76, .08);
  transition: transform .2s ease, box-shadow .2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(10, 42, 76, .13);
}

.card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #071e37;
}

.card-content {
  padding: 25px;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 23px;
  color: var(--navy);
}

.card p {
  color: var(--muted);
  margin: 0 0 22px;
  font-size: 15px;
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 20px;
  border-radius: 8px;
  transition: background .2s;
}

.btn:hover {
  background: var(--teal);
  color: #fff;
}

/* Closing section */
.closing {
  margin-top: 55px;
  padding: 42px 28px;
  text-align: center;
  background: #eef7fc;
  border-radius: 14px;
}

.closing h2 {
  margin: 0 0 14px;
}

.closing p {
  max-width: 700px;
  margin: 0 auto 24px;
  color: var(--muted);
}

/* Footer */
footer {
  background: var(--navy);
  color: white;
  padding: 28px 24px;
}

.foot {
  max-width: 1120px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  gap: 25px;
  flex-wrap: wrap;
}

footer a {
  color: white;
}

/* Mobile */
@media (max-width: 760px) {
  .nav {
    flex-direction: column;
    gap: 15px;
  }

  nav {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .hero {
    padding: 48px 20px;
  }

  .hero p {
    font-size: 16px;
  }

  .container {
    padding: 35px 18px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .closing {
    margin-top: 35px;
    padding: 30px 20px;
  }
}


/* EngageAlign Growth Solutions featured application */
.ea-growth-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 36px;
  max-width: 1120px;
  margin: 8px auto 48px;
}

.ea-growth-video {
  min-width: 0;
}

.ea-growth-video video {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  margin: 0;
  border-radius: 14px;
  background: #071e37;
  box-shadow: 0 9px 25px rgba(8, 35, 65, .15);
}

.ea-growth-content {
  min-width: 0;
  text-align: left;
}

.ea-growth-content h2 {
  color: #0b2d52;
  font-size: clamp(24px, 2.4vw, 31px);
  line-height: 1.22;
  margin: 0 0 16px;
}

.ea-growth-content > p {
  color: #173451;
  font-size: 16px;
  line-height: 1.65;
  margin: 0 0 20px;
}

.ea-growth-benefits {
  margin: 0 0 23px;
}

.ea-growth-benefits p {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 0 0 13px;
  font-size: 15px;
  line-height: 1.5;
  color: #173451;
}

.ea-check {
  flex: 0 0 25px;
  width: 25px;
  height: 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #0db2ba;
  color: white;
  font-weight: 800;
  font-size: 16px;
}

.ea-growth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.ea-growth-actions .btn {
  text-align: center;
  background: #079aa4;
  color: white;
  padding: 12px 19px;
}

.ea-growth-actions .ea-outline-btn {
  background: white;
  color: #075777;
  border: 1.5px solid #079aa4;
}

.ea-growth-actions .btn:hover {
  background: #087e88;
  color: white;
}

@media (max-width: 850px) {
  .ea-growth-feature {
    grid-template-columns: 1fr;
    max-width: 650px;
    gap: 26px;
  }

  .ea-growth-content {
    text-align: left;
  }
}


/* EngageAlign diamond header */
.nav .ea-brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav .ea-diamond-logo {
  display: block;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
}

.nav .ea-brand-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.nav .ea-brand-name {
  display: block;
  color: #0b2d52;
  font-size: 29px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.8px;
}

.nav .ea-brand-name > span {
  color: #1688e5;
}

.nav .ea-brand-tagline {
  display: block;
  color: #34506b;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.1px;
  white-space: nowrap;
}

@media (max-width: 850px) {
  .nav .ea-diamond-logo {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .nav .ea-brand-name {
    font-size: 24px;
  }

  .nav .ea-brand-tagline {
    font-size: 8px;
    letter-spacing: .5px;
  }
}

/* FIX: Constrain diamond logo and restore compact header */
header .nav {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    max-width: 1450px !important;
    margin: 0 auto !important;
    padding: 16px 24px !important;
    gap: 24px !important;
}

header .nav a.ea-brand-logo {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 14px !important;
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: 440px !important;
}

header .nav a.ea-brand-logo svg.ea-diamond-logo {
    display: block !important;
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    flex: 0 0 48px !important;
}

header .nav .ea-brand-text {
    display: flex !important;
    flex-direction: column !important;
    width: auto !important;
    gap: 3px !important;
}

header .nav .ea-brand-name {
    display: block !important;
    font-size: 29px !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
}

header .nav .ea-brand-tagline {
    display: block !important;
    font-size: 9px !important;
    letter-spacing: .8px !important;
    white-space: nowrap !important;
}

header .nav nav {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 20px !important;
    flex-wrap: wrap !important;
    margin-left: auto !important;
}

header .nav nav a {
    white-space: nowrap !important;
}

@media (max-width: 1050px) {
    header .nav {
        flex-wrap: wrap !important;
        justify-content: center !important;
    }

    header .nav nav {
        justify-content: center !important;
        margin-left: 0 !important;
    }
}

@media (max-width: 600px) {
    header .nav a.ea-brand-logo svg.ea-diamond-logo {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        max-width: 38px !important;
        min-height: 38px !important;
        max-height: 38px !important;
        flex-basis: 38px !important;
    }

    header .nav .ea-brand-name {
        font-size: 23px !important;
    }

    header .nav .ea-brand-tagline {
        font-size: 7px !important;
        letter-spacing: .3px !important;
    }

    header .nav nav {
        gap: 12px !important;
    }
}

/* FINAL: Match EngageAlign consulting logo */
header .nav a.ea-brand-logo {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 15px !important;
    width: auto !important;
    max-width: none !important;
    text-decoration: none !important;
}

header .nav a.ea-brand-logo svg.ea-diamond-logo {
    display: block !important;
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    flex: 0 0 48px !important;
}

header .nav a.ea-brand-logo .ea-brand-text {
    display: flex !important;
    flex-direction: column !important;
    gap: 3px !important;
    align-items: flex-start !important;
}

header .nav a.ea-brand-logo .ea-brand-name {
    display: block !important;
    color: #102d50 !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 32px !important;
    font-weight: 800 !important;
    line-height: 1.05 !important;
    letter-spacing: -1px !important;
    white-space: nowrap !important;
}

/* Align only should be blue */
header .nav a.ea-brand-logo .ea-brand-name > span {
    color: #1688e5 !important;
}

/* Tagline should be dark navy, not blue */
header .nav a.ea-brand-logo .ea-brand-tagline {
    display: block !important;
    color: #263f58 !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 1.15px !important;
    line-height: 1.4 !important;
    white-space: nowrap !important;
}

@media (max-width: 600px) {
    header .nav a.ea-brand-logo svg.ea-diamond-logo {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        max-width: 38px !important;
        min-height: 38px !important;
        max-height: 38px !important;
        flex-basis: 38px !important;
    }

    header .nav a.ea-brand-logo .ea-brand-name {
        font-size: 25px !important;
    }

    header .nav a.ea-brand-logo .ea-brand-tagline {
        font-size: 8px !important;
        letter-spacing: .5px !important;
    }
}
