
:root {
  --navy: #08265f;
  --blue: #1262d6;
  --green: #2f8f3a;
  --ink: #10234f;
  --muted: #5a6680;
  --line: #dce8f7;
  --shadow: 0 18px 45px rgba(8, 38, 95, 0.13);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 62%, #fff8ee 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1260px, calc(100% - 28px));
  margin: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 950;
  color: var(--blue);
  font-size: clamp(1.3rem, 2.3vw, 1.95rem);
  letter-spacing: -0.04em;
}

.logo-word span {
  color: var(--green);
}

.logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: white;
  display: grid;
  place-items: center;
  font-size: 1.45rem;
  box-shadow: 0 9px 22px rgba(18, 98, 214, 0.22);
}

.logo small {
  display: block;
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.5vw, 20px);
  font-weight: 850;
  color: var(--navy);
  font-size: 0.92rem;
}

.nav-links a {
  padding: 10px 0;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

.nav-links .cta {
  background: var(--green);
  color: white;
  padding: 12px 22px;
  border-radius: 999px;
  border-bottom: 0;
  box-shadow: 0 10px 24px rgba(47, 143, 58, 0.24);
}

/* Hero as the actual clickable homepage */

.home-main {
  padding: 24px 0 34px;
}

.hero-board {
  position: relative;
  background: white;
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-board img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-placeholder {
  min-height: 720px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 40px;
  background: linear-gradient(135deg, #e9f8ff, #fff4df);
}

.hero-placeholder h1 {
  color: var(--navy);
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 1;
  margin: 0 0 12px;
  letter-spacing: -0.05em;
}

.hero-placeholder p {
  color: var(--muted);
  font-size: 1.1rem;
  font-weight: 750;
}

/* Transparent clickable areas over the hero image */

.hero-link {
  position: absolute;
  display: block;
  border-radius: 18px;
  z-index: 5;
  outline: 2px solid rgba(255,255,255,0);
  transition: 0.18s ease;
}

/* On hover, show the clickable area so you can verify placement */
.hero-link:hover {
  background: rgba(47, 143, 58, 0.10);
  outline: 3px solid rgba(47, 143, 58, 0.55);
  box-shadow: 0 0 0 8px rgba(47, 143, 58, 0.10);
}

.hero-link span {
  position: absolute;
  left: 10px;
  bottom: 10px;
  background: rgba(8, 38, 95, 0.92);
  color: white;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 900;
  opacity: 0;
  transform: translateY(4px);
  transition: 0.18s ease;
  pointer-events: none;
}

.hero-link:hover span {
  opacity: 1;
  transform: translateY(0);
}

/*
HOTSPOT MAP
These percentages are based on the approved homepage mockup layout.
If your actual hero image is slightly different, adjust only these values.
*/

/* Main Get Started button area in hero */
.link-get-started {
  left: 8%;
  top: 45%;
  width: 17%;
  height: 7%;
}

/* See How It Works button area */
.link-see-how {
  left: 27%;
  top: 45%;
  width: 17%;
  height: 7%;
}

/* Lower Prescription Costs card */
.link-rx {
  left: 8%;
  top: 68%;
  width: 20%;
  height: 22%;
}

/* Personalized Care Reports card */
.link-reports {
  left: 30%;
  top: 68%;
  width: 20%;
  height: 22%;
}

/* Trusted Resources card */
.link-resources {
  left: 52%;
  top: 68%;
  width: 20%;
  height: 22%;
}

/* About / Support / family side visual area */
.link-about {
  left: 74%;
  top: 58%;
  width: 19%;
  height: 31%;
}

/* Optional logo link */
.link-home-logo {
  left: 3%;
  top: 3%;
  width: 18%;
  height: 7%;
}

/* Mobile fallback links */

.mobile-story-links {
  display: none;
  padding: 18px 0 0;
}

.mobile-grid {
  display: grid;
  gap: 12px;
}

.mobile-link {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  font-weight: 900;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 8px 20px rgba(8, 38, 95, 0.07);
}

.footer {
  border-top: 1px solid var(--line);
  padding: 30px 0;
  color: var(--muted);
  font-weight: 750;
}

.footer .container {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* Starter subpages */

.page {
  padding: 42px 0;
}

.page-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 34px;
  box-shadow: var(--shadow);
}

.page-card h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.page-card p {
  color: var(--muted);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.55;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 13px 22px;
  min-height: 50px;
  font-weight: 950;
  background: white;
  color: var(--blue);
  border: 2px solid #bdd2ef;
  white-space: nowrap;
}

.btn.primary {
  background: var(--green);
  color: white;
  border: 0;
}

@media (max-width: 1000px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 0;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }
}

@media (max-width: 760px) {
  .hero-link {
    display: none;
  }

  .mobile-story-links {
    display: block;
  }

  .hero-placeholder {
    min-height: 460px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 22px, 1260px);
  }

  .btn {
    width: 100%;
  }
}

/* === MaiCareNow navigation spacing fix === */
.site-header {
  min-height: 72px;
}

.nav {
  min-height: 72px;
  padding: 10px 0;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.05;
}

.logo-mark {
  flex: 0 0 auto;
}

.logo-word {
  display: inline-block;
  line-height: 1.05;
}

.logo small {
  margin-top: 3px;
  line-height: 1.1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: nowrap;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 0;
  white-space: nowrap;
}

.nav-links .cta {
  padding: 10px 18px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 1000px) {
  .nav {
    align-items: flex-start;
    padding: 12px 0;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    gap: 16px;
    padding-bottom: 6px;
  }

  .nav-links a {
    min-height: 36px;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: sticky;
  }

  .nav {
    gap: 10px;
  }

  .logo {
    font-size: 1.35rem;
  }

  .logo small {
    font-size: 0.72rem;
  }
}
