* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --navy: #063456;
  --navy-dark: #092a44;
  --teal: #18a6a6;
  --teal-dark: #0d858b;
  --light: #f5fafb;
  --white: #ffffff;
  --muted: #617080;
  --border: #dce8eb;
  --shadow: 0 22px 60px rgba(6, 52, 86, 0.12);
  --radius: 26px;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at top left, rgba(24, 166, 166, 0.16), transparent 34rem),
    linear-gradient(180deg, #ffffff 0%, var(--light) 100%);
  font-family: Calibri, Arial, Helvetica, sans-serif;
  color: var(--navy-dark);
  line-height: 1.6;
}

a {
  color: inherit;
}

/* HEADER */

.site-header {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 20px 0 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

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

.top-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 15px;
  font-weight: 700;
}

.top-nav a {
  text-decoration: none;
  color: var(--navy);
}

.nav-cta {
  padding: 10px 15px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white) !important;
}

/* HERO */

.hero-section {
  width: min(1180px, calc(100% - 36px));
  margin: 22px auto 0;
  padding: 34px;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 34px;
  align-items: center;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(220, 232, 235, 0.9);
  border-radius: 34px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.eyebrow {
  color: var(--teal-dark);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 10px;
}

.hero-content h1 {
  font-size: clamp(24px, 2.6vw, 38px);
  line-height: 1.02;
  letter-spacing: -1.8px;
  color: var(--navy);
  margin-bottom: 18px;
}

.hero-copy {
  font-size: 20px;
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 24px;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  align-items: center;
}

.cta-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 14px 22px;
  border-radius: 15px;
  text-decoration: none;
  font-size: 17px;
  font-weight: 900;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
}

.cta-button.primary {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: var(--white);
  box-shadow: 0 14px 30px rgba(24, 166, 166, 0.24);
}

.cta-button.secondary {
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--border);
}

.hero-metrics {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.hero-metrics div {
  background: #f7fbfc;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 14px;
}

.hero-metrics span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.hero-metrics strong {
  display: block;
  color: var(--navy);
  font-size: 15px;
  line-height: 1.25;
}

.hero-visual {
  position: relative;
}

.hero-image {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 28px;
  box-shadow: 0 22px 55px rgba(6, 52, 86, 0.18);
}

/* SECTIONS */

.positioning-section,
.services-section,
.credibility-section,
.cta-box {
  width: min(1180px, calc(100% - 36px));
  margin: 28px auto 0;
}

.section-heading {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 20px;
}

.section-heading h2,
.info-box h2,
.cta-box h2 {
  color: var(--navy);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.8px;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 20px;
}

.comparison-card {
  border-radius: var(--radius);
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 14px 36px rgba(6, 52, 86, 0.07);
}

.comparison-card h3 {
  font-size: 25px;
  margin-bottom: 14px;
}

.comparison-card ul {
  list-style: none;
}

.comparison-card li {
  font-size: 18px;
  color: var(--muted);
  margin: 9px 0;
  padding-left: 24px;
  position: relative;
}

.comparison-card li::before {
  content: "✕";
  color: #c24141;
  position: absolute;
  left: 0;
  font-weight: 900;
}

.accent-card {
  background: linear-gradient(135deg, var(--navy), #0b4f70);
  color: var(--white);
}

.accent-card h3 {
  color: #7de1df;
}

.accent-card p {
  font-size: 22px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
}

/* PROMISE CARDS */

.promise-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.promise-box {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--navy-dark);
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: 0 14px 36px rgba(6, 52, 86, 0.07);
}

.icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(24, 166, 166, 0.12);
  color: var(--teal-dark);
  display: grid;
  place-items: center;
  font-weight: 900;
  margin-bottom: 18px;
}

.promise-box h3 {
  font-size: 25px;
  color: var(--navy);
  line-height: 1.12;
  margin-bottom: 12px;
}

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

/* CREDIBILITY */

.info-box {
  background: linear-gradient(180deg, #ffffff, #f8fcfd);
  border: 1px solid var(--border);
  box-shadow: 0 14px 36px rgba(6, 52, 86, 0.07);
  padding: 32px;
  border-radius: var(--radius);
  text-align: center;
}

.info-box p:last-child {
  margin: 12px auto 0;
  max-width: 760px;
  font-size: 18px;
  color: var(--muted);
}

/* CTA */

.cta-box {
  background: var(--navy);
  color: var(--white);
  border-radius: 30px;
  padding: 34px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  box-shadow: var(--shadow);
}

.cta-box .eyebrow {
  color: #7de1df;
}

.cta-box h2 {
  color: var(--white);
  margin-bottom: 10px;
}

.cta-box p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  max-width: 720px;
}

.cta-box .cta-button.secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.32);
}

.email {
  grid-column: 1 / -1;
  color: #7de1df !important;
  font-weight: 900;
  margin-top: -8px;
}

/* FOOTER */

footer {
  text-align: center;
  padding: 32px 18px 38px;
  color: #6b7280;
  font-size: 15px;
}

/* MOBILE */

@media (max-width: 960px) {
  .hero-section {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .hero-image {
    max-height: 420px;
  }

  .comparison-grid,
  .promise-container,
  .cta-box {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
  }

  .top-nav {
    display: none;
  }

  .logo {
    width: 116px;
  }

  .hero-section,
  .positioning-section,
  .services-section,
  .credibility-section,
  .cta-box {
    width: min(100% - 24px, 1180px);
  }

  .hero-section {
    margin-top: 14px;
    padding: 20px;
    border-radius: 24px;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-button {
    width: 100%;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero-image {
    max-height: 320px;
  }

  .comparison-card,
  .promise-box,
  .info-box,
  .cta-box {
    padding: 22px;
    border-radius: 22px;
  }
}





/* FlowMD homepage long headline fix - v2 */
.hero-content h1,
.hero-content .hero-title,
h1.hero-title {
  font-size: clamp(24px, 2.6vw, 38px) !important;
  line-height: 1.14 !important;
  letter-spacing: -0.35px !important;
  max-width: 680px !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  margin-bottom: 18px !important;
}

.hero-content .hero-title span {
  display: inline-block;
  font-size: 0.92em !important;
}

@media (max-width: 960px) {
  .hero-content h1,
  .hero-content .hero-title,
  h1.hero-title {
    font-size: clamp(25px, 5vw, 36px) !important;
    line-height: 1.16 !important;
    max-width: 100% !important;
  }
}

@media (max-width: 680px) {
  .hero-content h1,
  .hero-content .hero-title,
  h1.hero-title {
    font-size: 27px !important;
    line-height: 1.18 !important;
    letter-spacing: -0.2px !important;
  }
}

/* FlowMD launch-ready headline adjustment */
.hero-content h1,
.hero-content .hero-title,
h1.hero-title {
  font-size: clamp(28px, 3.2vw, 44px) !important;
  line-height: 1.14 !important;
  letter-spacing: -0.4px !important;
}
