:root {
  --ink: #18302f;
  --muted: #5c6d6b;
  --cream: #fffaf0;
  --paper: #ffffff;
  --teal: #143d3a;
  --teal-2: #235f59;
  --gold: #f2b84b;
  --orange: #dd6f45;
  --sage: #dce9df;
  --line: #dfe8e5;
  --shadow: 0 16px 40px rgba(20, 61, 58, 0.10);
  --radius: 22px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Atkinson Hyperlegible", Arial, sans-serif;
  line-height: 1.55;
}
button, input { font: inherit; }
a { color: inherit; }
img { max-width: 100%; }
.container { width: min(var(--container), calc(100% - 32px)); margin-inline: auto; }
.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; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 99; background: #fff; padding: 10px 14px; border-radius: 8px; box-shadow: var(--shadow); }
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,250,240,.94);
  border-bottom: 1px solid rgba(20,61,58,.1);
  backdrop-filter: blur(14px);
}
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-family: "DM Sans", sans-serif; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; background: var(--teal); color: white; font-weight: 800; letter-spacing: .04em; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: .98rem; }
.brand small { color: var(--muted); margin-top: -2px; }
.site-nav { display: flex; gap: 24px; }
.site-nav a { text-decoration: none; font-weight: 700; }
.site-nav a:hover { color: var(--teal-2); }
.menu-button { display: none; border: 0; background: var(--teal); color: #fff; border-radius: 10px; padding: 9px 13px; font-weight: 700; }

.hero { padding: 72px 0 48px; background: radial-gradient(circle at 80% 15%, rgba(242,184,75,.33), transparent 25%), linear-gradient(140deg, #fffaf0 10%, #eef6f0 100%); }
.hero-grid { display: grid; grid-template-columns: 1.35fr .85fr; align-items: center; gap: 56px; }

/* Partner logos
   Replace the two PNG files inside the images folder while keeping the same names. */
.partner-logos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 14px;
  max-width: 650px;
  margin: 0 0 28px;
}

.partner-logo-card {
  min-width: 0;
  height: 104px;
  display: grid;
  place-items: center;
  padding: 14px 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(20, 61, 58, 0.08);
}

.partner-logo-card img {
  display: block;
  width: 100%;
  height: 76px;
  object-fit: contain;
}

/* Give symbols and emoji the best chance of displaying on different devices. */
.resource-icon,
.quick-link span,
.help-icon {
  font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", Arial, sans-serif;
}

.eyebrow { margin: 0 0 10px; color: var(--orange); font-family: "DM Sans", sans-serif; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; }
h1, h2, h3 { font-family: "DM Sans", sans-serif; line-height: 1.12; margin-top: 0; }
h1 { font-size: clamp(2.55rem, 7vw, 5.2rem); letter-spacing: -.045em; max-width: 850px; margin-bottom: 22px; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -.035em; }
.hero-copy { font-size: 1.2rem; max-width: 680px; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 18px; border-radius: 12px; font-weight: 800; text-decoration: none; border: 2px solid transparent; }
.button-primary { background: var(--teal); color: white; }
.button-primary:hover { background: var(--teal-2); }
.button-secondary { border-color: var(--teal); color: var(--teal); background: transparent; }
.button-secondary:hover { background: white; }
.help-card { background: var(--teal); color: white; padding: 32px; border-radius: 28px; box-shadow: var(--shadow); transform: rotate(1deg); }
.help-card h2 { font-size: 1.8rem; margin-bottom: 12px; }
.help-card p { color: rgba(255,255,255,.86); }
.help-card a { color: white; font-weight: 800; text-underline-offset: 4px; }
.help-icon { font-size: 2.2rem; }

.quick-links { padding: 0 0 28px; margin-top: -12px; }
.quick-link-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.quick-link { min-height: 92px; border: 1px solid var(--line); border-radius: 18px; background: white; padding: 16px; display: flex; align-items: center; justify-content: flex-start; gap: 12px; text-align: left; font-weight: 800; color: var(--ink); box-shadow: 0 8px 25px rgba(20,61,58,.06); cursor: pointer; }
.quick-link span { font-size: 1.8rem; }
.quick-link:hover { transform: translateY(-2px); border-color: var(--teal-2); }

.resources-section { padding: 72px 0 88px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.section-heading h2 { margin-bottom: 0; }
.print-button { border: 1px solid var(--line); background: white; border-radius: 12px; padding: 10px 14px; font-weight: 800; cursor: pointer; }
.resource-tools { background: white; border: 1px solid var(--line); padding: 18px; border-radius: 20px; box-shadow: 0 10px 30px rgba(20,61,58,.06); }
.search-box input { width: 100%; border: 2px solid var(--line); border-radius: 14px; padding: 15px 16px; background: #fbfdfc; color: var(--ink); outline: none; }
.search-box input:focus { border-color: var(--teal-2); box-shadow: 0 0 0 4px rgba(35,95,89,.12); }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.filter-button { border: 0; background: var(--sage); border-radius: 999px; padding: 9px 13px; color: var(--ink); font-weight: 700; cursor: pointer; }
.filter-button.active { background: var(--teal); color: #fff; }
.result-count { color: var(--muted); margin: 18px 0; font-weight: 700; }
.resource-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.resource-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: 0 10px 34px rgba(20,61,58,.06); display: flex; flex-direction: column; min-height: 100%; }
.resource-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.resource-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; background: var(--sage); font-size: 1.5rem; flex: 0 0 auto; }
.resource-card h3 { font-size: 1.45rem; margin: 0 0 4px; }
.category-label { color: var(--orange); font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.good-for { margin: 18px 0; color: #314543; }
.good-for strong { color: var(--ink); }
.detail-list { display: grid; gap: 10px; margin-top: auto; }
.detail { display: grid; grid-template-columns: 26px 1fr; gap: 8px; color: var(--muted); }
.detail a { color: var(--teal-2); font-weight: 700; }
.note { margin-top: 14px; padding: 12px; border-radius: 12px; background: #fff4d7; color: #654d14; }
.card-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.card-action { text-decoration: none; border: 1px solid var(--line); background: #fbfdfc; padding: 9px 12px; border-radius: 10px; font-weight: 800; font-size: .94rem; }
.card-action.primary { background: var(--teal); color: white; border-color: var(--teal); }
.empty-state { text-align: center; padding: 50px 20px; background: white; border: 1px dashed #b9c9c5; border-radius: 18px; }

.medinav-section { padding: 88px 0; background: var(--teal); color: white; }
.medinav-section .eyebrow { color: var(--gold); }
.medinav-intro { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: end; }
.medinav-intro p { color: rgba(255,255,255,.82); max-width: 760px; }
.medinav-intro .button-primary { background: var(--gold); color: #3a2a08; }
.ready-box { margin: 30px 0; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); padding: 24px; border-radius: 18px; }
.ready-box h3 { margin-bottom: 12px; }
.ready-box ul { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px 22px; margin: 0; padding-left: 22px; }
.steps-list { display: grid; gap: 12px; }
.step { background: white; color: var(--ink); border-radius: 16px; overflow: hidden; }
.step button { width: 100%; border: 0; background: white; color: var(--ink); padding: 18px 20px; display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; text-align: left; cursor: pointer; }
.step-number { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: var(--sage); font-weight: 900; }
.step-title { font-family: "DM Sans", sans-serif; font-weight: 800; font-size: 1.08rem; }
.step-toggle { font-size: 1.35rem; }
.step-content { padding: 0 22px 22px 76px; color: #415452; }
.step-content[hidden] { display: none; }
.step-content ul { padding-left: 20px; }

.site-footer { background: #0f2d2a; color: white; padding: 38px 0; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.site-footer p { color: rgba(255,255,255,.75); margin: 6px 0; }

@media (max-width: 900px) {
  .hero-grid, .medinav-intro { grid-template-columns: 1fr; }
  .quick-link-grid { grid-template-columns: repeat(2, 1fr); }
  .resource-grid { grid-template-columns: 1fr; }
  .help-card { transform: none; }
}

@media (max-width: 720px) {

  .partner-logos {
    grid-template-columns: 1fr;
    max-width: 100%;
    gap: 10px;
    margin-bottom: 22px;
  }

  .partner-logo-card {
    height: 88px;
    padding: 10px 14px;
  }

  .partner-logo-card img {
    height: 66px;
  }
  .menu-button { display: inline-flex; }
  .site-nav { position: absolute; left: 16px; right: 16px; top: 70px; display: none; flex-direction: column; background: white; border: 1px solid var(--line); border-radius: 14px; padding: 14px; box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  h1 { font-size: 2.65rem; }
  .hero { padding-top: 48px; }
  .quick-link-grid { grid-template-columns: 1fr; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .ready-box ul { grid-template-columns: 1fr; }
  .step button { grid-template-columns: 40px 1fr auto; padding: 16px; }
  .step-content { padding: 0 16px 18px 68px; }
  .footer-grid { grid-template-columns: 1fr; }
  .card-actions { display: grid; grid-template-columns: repeat(2, 1fr); }
  .card-action { text-align: center; }
}

@media print {
  .site-header, .hero-actions, .quick-links, .resource-tools, .print-button, .medinav-section, .site-footer, .card-actions { display: none !important; }
  body { background: white; }
  .hero { padding: 20px 0; background: white; }
  .hero-grid { display: block; }
  .help-card { color: black; background: white; border: 1px solid #bbb; box-shadow: none; }
  .help-card p, .help-card a { color: black; }
  .resources-section { padding: 20px 0; }
  .resource-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .resource-card { break-inside: avoid; box-shadow: none; padding: 14px; }
}

/* =========================================================
   SIMPLIFIED LAYOUT
   ========================================================= */

:root {
  --ink: #16302f;
  --muted: #5f6f6d;
  --cream: #f6f7f4;
  --paper: #ffffff;
  --teal: #123f3b;
  --teal-2: #245e58;
  --gold: #e9b24b;
  --orange: #c85f3d;
  --sage: #e5eee8;
  --line: #d9e2de;
  --shadow: none;
  --radius: 16px;
}

body {
  background: var(--cream);
}

.hero {
  padding: 48px 0 38px;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.simple-hero {
  max-width: 980px;
  text-align: center;
}

.partner-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 26px;
  max-width: none;
  margin: 0 auto 28px;
}

.partner-logos img {
  display: block;
  width: auto;
  object-fit: contain;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

.partner-logos .mamawi-logo {
  width: min(100%, 565px);
  height: auto;
}

.partner-logos .um-logo {
  width: 132px;
  height: 132px;
}

.simple-hero h1 {
  max-width: 850px;
  margin: 0 auto 10px;
  font-size: clamp(2.2rem, 6vw, 4rem);
  letter-spacing: -0.035em;
}

.made-by {
  margin: 0 0 18px;
  color: var(--teal);
  font-family: "DM Sans", Arial, sans-serif;
  font-weight: 700;
}

.hero-copy {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.08rem;
}

.start-note {
  max-width: 760px;
  margin: 26px auto 0;
  padding: 16px 18px;
  background: var(--sage);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
}

.start-note a {
  color: var(--teal);
  font-weight: 700;
}

.quick-links {
  padding: 28px 0 10px;
  margin-top: 0;
}

.quick-link {
  min-height: 76px;
  border-radius: 12px;
  box-shadow: none;
}

.quick-link:hover {
  transform: none;
  background: #f9fbfa;
}

.resources-section {
  padding-top: 54px;
}

.resource-tools,
.resource-card {
  box-shadow: none;
}

.resource-card {
  border-radius: 16px;
}

.resource-card:hover {
  box-shadow: none;
  transform: none;
  border-color: #bccdc6;
}

.resource-icon {
  border-radius: 12px;
}

.site-footer {
  background: #173b38;
}

@media (max-width: 720px) {
  .hero {
    padding: 34px 0 30px;
  }

  .partner-logos {
    flex-direction: column;
    gap: 18px;
    margin-bottom: 24px;
  }

  .partner-logos .mamawi-logo {
    width: 100%;
    max-width: 520px;
  }

  .partner-logos .um-logo {
    width: 110px;
    height: 110px;
  }

  .simple-hero h1 {
    font-size: 2.35rem;
  }

  .start-note {
    text-align: left;
  }
}

@media print {
  .start-note {
    color: #000;
    background: #fff;
  }
}

/* MediNav screenshots */
.step-content > p:first-child {
  margin-top: 0;
}

.step-image-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  margin-top: 20px;
}

.step-image-grid.multiple-images {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.step-figure {
  min-width: 0;
  margin: 0;
}

.step-image-link {
  display: block;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.step-image-link:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.step-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 680px;
  object-fit: contain;
  background: #ffffff;
}

.step-figure figcaption {
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.image-help {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

@media (max-width: 760px) {
  .step-image-grid.multiple-images {
    grid-template-columns: 1fr;
  }

  .step-image-link {
    border-radius: 9px;
  }

  .step-figure figcaption {
    font-size: 0.88rem;
  }
}

@media print {
  .step-content[hidden] {
    display: block;
  }

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

  .image-help {
    display: none;
  }
}

