/* ATM Health v2 — brand palette recreated from the live site.css */
:root {
  --ink: #092440;
  --ink-soft: #38526a;
  --teal: #007c82;
  --teal-deep: #005f67;
  --teal-pale: #e6f4f3;
  --paper: #fbfcfb;
  --mist: #f0f5f5;
  --line: #d6e1e1;
  --white: #fff;
  --danger: #8b3f39;
  --focus: #0b5cab;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

a { color: var(--teal-deep); }
a:hover { color: var(--teal); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.visually-hidden,
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

.shell { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
.narrow-page { width: min(760px, calc(100% - 48px)); }

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 100;
  padding: 11px 16px; border-radius: 8px; background: var(--ink); color: #fff;
  font-weight: 700; transform: translateY(-180%); transition: transform .16s ease;
  text-decoration: none;
}
.skip-link:focus { transform: translateY(0); color: #fff; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  border-bottom: 1px solid rgba(214,225,225,.9);
  background: rgba(251,252,251,.95);
  backdrop-filter: blur(12px);
}
.header-inner {
  display: flex; min-height: 78px; align-items: center; justify-content: space-between; gap: 24px;
}
.brand, .footer-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.brand-icon, .footer-icon {
  display: grid; place-items: center; overflow: hidden; border-radius: 9px; background: #fff;
  flex: 0 0 auto;
}
.brand-icon { width: 42px; height: 42px; }
.footer-icon { width: 49px; height: 49px; }
.brand-icon img, .footer-icon img {
  width: 126%; height: 126%; object-fit: cover; object-position: center 35%; transform: scale(1.2);
}
.brand > span:last-child, .footer-brand > div { display: grid; gap: 2px; }
.brand strong, .footer-brand strong { letter-spacing: -.02em; font-size: 1rem; color: var(--ink); }
.brand small { color: var(--ink-soft); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  font-size: .82rem;
  cursor: pointer;
}
.nav-toggle-bars {
  display: block;
  width: 16px; height: 2px;
  background: currentColor;
  box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  box-shadow: none;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  content: "";
  display: block;
  width: 16px; height: 2px;
  background: currentColor;
  transform: rotate(-90deg);
}

.site-nav .menu,
.site-nav ul {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav a, .footer-links a {
  color: var(--ink-soft);
  font-size: .89rem;
  font-weight: 700;
  text-decoration: none;
  transition: color .16s ease;
}
.site-nav a:hover, .footer-links a:hover { color: var(--teal); }
.site-nav .current-menu-item > a,
.site-nav .current_page_item > a { color: var(--teal-deep); }

.header-cta {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--teal-deep); font-size: .88rem; font-weight: 800; text-decoration: none;
  flex: 0 0 auto;
}
.header-cta:hover { color: var(--teal); }

.notice-bar { border-bottom: 1px solid #eed1cc; background: #fff9f8; }
.notice-inner { display: flex; align-items: center; gap: 10px; padding: 10px 0; }
.notice-inner p { margin: 0; color: #6f3a35; font-size: .82rem; line-height: 1.5; }
.notice-inner a { font-weight: 800; color: #6f3a35; }
.notice-dot { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: var(--danger); }

/* Type */
.eyebrow { margin: 0 0 15px; color: var(--teal-deep); font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3, h4 { margin-top: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 500; overflow-wrap: break-word; color: var(--ink); }
h1 { max-width: 730px; margin-bottom: 25px; font-size: clamp(3rem, 6vw, 5.7rem); letter-spacing: -.067em; line-height: .98; }
h2 { margin-bottom: 18px; font-size: clamp(2.1rem, 4vw, 3.5rem); letter-spacing: -.052em; line-height: 1.05; }
h3 { margin-bottom: 8px; font-size: 1.38rem; letter-spacing: -.035em; }
p { color: var(--ink-soft); overflow-wrap: break-word; font-size: 1rem; line-height: 1.7; }

.hero {
  position: relative; overflow: hidden; padding: 112px 0 106px;
  background:
    radial-gradient(circle at 85% 16%, rgba(25,141,143,.19), transparent 31%),
    radial-gradient(circle at 14% 87%, rgba(8,36,64,.1), transparent 29%),
    #f8fbfa;
}
.hero::before {
  position: absolute; inset: 0; content: ""; opacity: .45;
  background-image:
    linear-gradient(rgba(9,36,64,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(9,36,64,.035) 1px, transparent 1px);
  background-size: 34px 34px; pointer-events: none;
}
.hero-compact { padding: 72px 0 56px; }
.hero-compact h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); max-width: 880px; }
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  align-items: center; gap: clamp(48px, 8vw, 116px);
}
.hero-lead { max-width: 640px; margin: 0; font-size: clamp(1.08rem, 1.8vw, 1.25rem); line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 35px; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 50px; padding: 12px 20px;
  border: 1px solid transparent; border-radius: 9px;
  font-size: .9rem; font-weight: 800; font-family: inherit;
  text-align: center; text-decoration: none; cursor: pointer;
  transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
  background: none; color: inherit;
}
.button:hover { transform: translateY(-2px); }
.button:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.button-primary { background: var(--ink); color: var(--white); box-shadow: 0 10px 18px rgba(9,36,64,.16); }
.button-primary:hover { background: var(--teal-deep); color: #fff; }
.button-quiet { border-color: var(--line); background: rgba(255,255,255,.7); color: var(--ink); }
.button-quiet:hover { border-color: var(--teal); color: var(--teal-deep); }

.hero-card {
  position: relative; z-index: 1;
  padding: 34px;
  border: 1px solid rgba(9,36,64,.14);
  border-radius: 19px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 25px 54px rgba(9,36,64,.13);
}
.hero-card-heading h2 { margin-bottom: 22px; font-size: 2rem; }
.hero-points { list-style: none; margin: 0; padding: 0; }
.hero-points li {
  display: grid; gap: 4px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.hero-points strong { color: var(--ink); font-size: .94rem; letter-spacing: -.02em; }
.hero-points span { color: var(--ink-soft); font-size: .86rem; line-height: 1.5; }
.hero-card-note { margin: 18px 0 0; padding-top: 17px; border-top: 1px solid var(--line); font-size: .78rem; line-height: 1.55; }

/* Sections */
.section { padding: 108px 0; }
.section-soft { background: var(--mist); }
.section-heading { margin-bottom: 50px; }
.split-heading { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(260px, .6fr); gap: 70px; align-items: end; }
.split-heading > p { max-width: 470px; margin: 0 0 8px; }
.centered-heading { max-width: 760px; margin-right: auto; margin-left: auto; text-align: center; }
.centered-heading > p:last-child { max-width: 680px; margin: 0 auto; }
.section-more { margin: 36px 0 0; }

.principles-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.principle-card {
  min-height: 246px; padding: 27px 25px;
  border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.62);
}
.principle-card .number { display: block; margin-bottom: 36px; color: var(--teal); font-family: Georgia, "Times New Roman", serif; font-size: 1.18rem; }
.principle-card h2, .principle-card h3 { font-size: 1.34rem; }

/* Chooser */
.chooser-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.chooser-card {
  display: grid;
  gap: 6px;
  text-align: left;
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: inherit;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(9,36,64,.04);
  transition: border-color .16s ease, transform .16s ease, background .16s ease, box-shadow .16s ease;
}
.chooser-card:hover,
.chooser-card[aria-expanded="true"] {
  border-color: var(--teal);
  background: var(--teal-pale);
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(9,36,64,.08);
}
.chooser-kicker {
  color: var(--teal-deep);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.chooser-card strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
  font-weight: 500;
  letter-spacing: -.03em;
  color: var(--ink);
}
.chooser-card > span:last-child { color: var(--ink-soft); font-size: .88rem; }
.chooser-panel {
  margin-top: 22px;
  padding: 28px 30px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(9,36,64,.07);
}
.chooser-panel[hidden] { display: none; }
.chooser-panel .hero-actions { margin-top: 18px; }
.chooser-contact-hint { margin: 28px 0 0; font-size: .9rem; text-align: center; }

/* Feature / news teaser */
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature-card {
  display: grid; align-content: start; gap: 8px;
  min-height: 230px; padding: 26px 24px;
  border: 1px solid var(--line); border-radius: 16px;
  background: #fff; text-decoration: none; color: inherit;
  box-shadow: 0 14px 28px rgba(9,36,64,.05);
  transition: transform .16s ease, border-color .16s ease;
}
.feature-card:hover { transform: translateY(-3px); border-color: var(--teal); color: inherit; }
.feature-card .number { color: var(--teal); font-family: Georgia, "Times New Roman", serif; font-size: 1.1rem; }
.feature-card p { margin: 0; font-size: .92rem; }

.home-news-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.home-news-list li { border-bottom: 1px solid var(--line); }
.home-news-list article { display: grid; gap: 8px; padding: 26px 0; }
.home-news-list time { color: var(--teal-deep); font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.home-news-list h3 { margin: 0; font-size: 1.45rem; }
.home-news-list h3 a { color: inherit; text-decoration: none; }
.home-news-list h3 a:hover { color: var(--teal-deep); }
.home-news-list p { margin: 0; max-width: 760px; }

.innovation-section { padding: 80px 0; background: #eaf2f1; }
.innovation-grid { display: grid; grid-template-columns: 180px minmax(0, 700px); justify-content: center; gap: 44px; align-items: center; }
.innovation-logo-wrap {
  display: grid; width: 166px; height: 166px; place-items: center; overflow: hidden;
  border-radius: 50%; background: #fff; box-shadow: 0 12px 28px rgba(9,36,64,.08);
}
.innovation-logo-wrap img { width: 156px; height: 156px; object-fit: cover; object-position: center 37%; transform: scale(1.18); }
.innovation-grid h2 { max-width: 620px; margin-bottom: 13px; font-size: clamp(2rem, 3.5vw, 3.05rem); }
.innovation-grid p:last-of-type { max-width: 660px; }

.contact-section { background: var(--paper); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(310px, .68fr); gap: clamp(45px, 12vw, 160px); align-items: center; }
.contact-grid h2 { margin-bottom: 14px; }
.contact-grid > div > p:last-child { max-width: 530px; margin: 0; }
.contact-card { display: grid; gap: 8px; padding: 28px; border-top: 3px solid var(--teal); background: var(--ink); box-shadow: 0 20px 40px rgba(9,36,64,.14); }
.contact-label { color: #8cd3cc; font-size: .71rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.contact-card a { color: #fff; font-size: clamp(1.15rem, 2.5vw, 1.55rem); font-weight: 700; text-decoration: none; }
.contact-card a:hover { color: #b6efe8; }
.contact-card p { margin: 0; color: #c4d5de; font-size: .88rem; }

/* Jump nav used on compact heroes */
.jump-nav {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; gap: 10px 16px;
  margin-top: 28px;
}
.jump-nav a {
  color: var(--teal-deep);
  font-size: .88rem;
  font-weight: 800;
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.jump-nav a:hover { border-bottom-color: var(--teal); }

.notice-callout {
  position: relative; z-index: 1;
  margin-top: 28px; max-width: 760px;
  padding: 18px 20px;
  border-left: 4px solid var(--danger);
  background: #fff9f8;
  border-radius: 0 10px 10px 0;
}
.notice-callout p { margin: 8px 0 0; color: #6f3a35; font-size: .92rem; }
.notice-callout strong { color: var(--ink); }

/* Legal */
.legal-page h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.lead-legal { font-size: 1.12rem; max-width: 640px; }
.review-banner {
  margin: 28px 0 36px;
  padding: 18px 20px;
  border: 1px solid #e2c27a;
  border-radius: 12px;
  background: #fff8e8;
}
.review-banner strong { display: block; margin-bottom: 8px; color: var(--ink); }
.review-banner p, .review-banner li { color: #5c4a22; font-size: .92rem; }
.review-banner ul { margin: 8px 0 0; padding-left: 1.15em; }
.legal-page h2 { margin-top: 2rem; font-size: clamp(1.5rem, 3vw, 2rem); }
.fine-note { color: var(--ink-soft); font-size: .82rem; line-height: 1.6; }
.page-body, .entry-content { font-size: 1.05rem; }
.page-body h2, .entry-content h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-top: 1.6em; }
.page-body a, .entry-content a { font-weight: 700; }

/* Newsletter */
.newsletter-block {
  margin: 0 0 28px;
  padding: 28px 30px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--teal-pale);
}
.newsletter-block h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.newsletter-block .fine-note { margin-bottom: 0; }

/* Footer */
.site-footer { padding: 38px 0 20px; background: #061a2e; color: #fff; }
.footer-emergency {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 28px; padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 10px;
  background: rgba(255,255,255,.04);
}
.footer-emergency p { margin: 0; color: #d7c0bb; font-size: .84rem; line-height: 1.55; }
.footer-emergency a { color: #fff; font-weight: 800; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 34px; padding-bottom: 30px; }
.footer-brand strong { color: #fff; }
.footer-brand p { max-width: 315px; margin: 2px 0 0; color: #aebfca; font-size: .76rem; line-height: 1.45; }
.footer-links, .footer-links .menu, .footer-links ul {
  display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 19px;
  margin: 0; padding: 0; list-style: none;
}
.footer-links a { color: #b7c7d0; font-size: .8rem; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 24px;
  padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14);
}
.footer-bottom p { margin: 0; color: #aebfca; font-size: .7rem; line-height: 1.5; }

/* Reveal */
[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 950px) {
  .header-inner { min-height: auto; padding: 15px 0; flex-wrap: wrap; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .header-cta { order: 2; }
  .site-nav {
    display: none;
    order: 3;
    width: 100%;
    padding: 8px 0 4px;
  }
  .site-nav.is-open { display: block; }
  .site-nav .menu,
  .site-nav ul { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 52px; }
  .hero-card { max-width: 640px; }
  .split-heading { grid-template-columns: 1fr; gap: 6px; }
  .chooser-grid, .feature-grid, .principles-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .shell, .narrow-page { width: min(100% - 32px, 1160px); }
  .header-cta { display: none; }
  .notice-inner { align-items: flex-start; }
  .notice-inner p { font-size: .75rem; }
  .hero { padding: 70px 0 76px; }
  .hero-compact { padding: 52px 0 42px; }
  h1 { font-size: clamp(2.75rem, 13vw, 4.2rem); }
  .hero-compact h1 { font-size: clamp(2.1rem, 11vw, 3.2rem); }
  h2 { font-size: clamp(2rem, 10vw, 3rem); }
  .hero-card { padding: 24px; }
  .section { padding: 74px 0; }
  .chooser-grid, .feature-grid, .principles-grid { grid-template-columns: 1fr; }
  .principle-card { min-height: 0; }
  .principle-card .number { margin-bottom: 22px; }
  .innovation-section { padding: 65px 0; }
  .innovation-grid { grid-template-columns: 1fr; gap: 24px; }
  .innovation-logo-wrap { width: 126px; height: 126px; }
  .innovation-logo-wrap img { width: 119px; height: 119px; }
  .footer-top, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .footer-links, .footer-links .menu, .footer-links ul { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .button:hover, .chooser-card:hover, .feature-card:hover { transform: none; }
}

/* Network CTAs (front page + footer), v2.1 */
.network-teaser { padding: 96px 0; background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.network-teaser::before { position: absolute; inset: 0; content: ""; opacity: .5; pointer-events: none;
  background-image: radial-gradient(circle at 82% 22%, rgba(25,141,143,.45), transparent 34%), radial-gradient(circle at 10% 90%, rgba(140,211,204,.16), transparent 30%); }
.network-teaser .shell { position: relative; z-index: 1; }
.network-teaser .eyebrow { color: #8cd3cc; }
.network-teaser h2 { color: #fff; max-width: 760px; }
.network-teaser p { color: #c4d5de; max-width: 640px; }
.network-teaser-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .9fr); gap: clamp(36px, 7vw, 90px); align-items: center; }
.network-paths { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.network-paths a { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 15px 18px; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; background: rgba(255,255,255,.05); color: #fff; text-decoration: none; font-weight: 800; font-size: .94rem; transition: background .16s ease, border-color .16s ease; }
.network-paths a:hover { background: rgba(255,255,255,.12); border-color: #8cd3cc; color: #fff; }
.network-paths small { display: block; color: #aebfca; font-weight: 400; font-size: .8rem; margin-top: 2px; }
.network-teaser .button-primary { background: #fff; color: var(--ink); }
.network-teaser .button-primary:hover { background: #b6efe8; color: var(--ink); }
.network-teaser .button-quiet { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.network-teaser .button-quiet:hover { border-color: #8cd3cc; color: #b6efe8; }
.footer-network { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 24px; margin-bottom: 22px; padding: 18px 20px; border-radius: 12px; background: linear-gradient(100deg, rgba(0,124,130,.35), rgba(255,255,255,.04)); border: 1px solid rgba(140,211,204,.3); }
.footer-network p { margin: 0; color: #d9e6ea; font-size: .92rem; }
.footer-network strong { color: #fff; font-family: Georgia, "Times New Roman", serif; font-weight: 500; font-size: 1.15rem; margin-right: 8px; }
.footer-network a { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 16px; border-radius: 9px; background: #fff; color: var(--ink); font-weight: 800; font-size: .86rem; text-decoration: none; }
.footer-network a:hover { background: #b6efe8; color: var(--ink); }
@media (max-width: 950px) { .network-teaser-grid { grid-template-columns: 1fr; } }
@media (max-width: 680px) { .network-teaser { padding: 70px 0; } }
.hero-points strong a { color: inherit; text-decoration: none; border-bottom: 2px solid var(--teal); }
.hero-points strong a:hover { color: var(--teal-deep); }
