/* Get Care Now landing page. Mobile-first, no frameworks. */

/* Google Sans (Google Fonts, OFL), self-hosted and subset to the headline's
   characters ("Get Care Now on Google Health", ~2 KB each). Body text uses
   the system font (Roboto on Android). */
@font-face {
  font-family: "Google Sans Heading";
  src: url("../fonts/google-sans-400-heading.woff2") format("woff2");
  font-weight: 400; font-display: swap;
}
@font-face {
  font-family: "Google Sans Heading";
  src: url("../fonts/google-sans-500-heading.woff2") format("woff2");
  font-weight: 500; font-display: swap;
}
:root {
  --blue: #1a73e8;  /* Google blue; used throughout */
  --blue-dark: #1765cc;  /* hover / pressed */
  --text: #212121;
  --muted: #5f6368;
  --band: #f1f3f4;
  --radius: 12px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: #fff;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; }
h2 { font-size: 1.4rem; font-weight: 500; color: #202124; margin-top: 1.5em; }
h3 { font-size: 1rem; margin: 1em 0 .25em; }
p { margin: 0 0 1em; }

.wrap { max-width: 720px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: #fff; padding: 8px 12px; z-index: 10; }

/* Hero: value prop + primary CTA above the fold. */
.hero {
  background: #fff;
  color: var(--text);
  text-align: center;
  padding: 28px 0 12px;
}
.logos {
  display: inline-flex; align-items: center; gap: 16px;
  margin: 0 auto 8px; padding: 4px 0;
}
.logos img { display: block; height: auto; }
.logo-g { width: 80px; }
.logo-dod { width: 140px; }
.logos-sep { width: 1px; align-self: stretch; background: #dadce0; }
.trust { font-size: .85rem; color: var(--muted); margin: 0 auto 24px; max-width: 320px; line-height: 1.4; }
.hero h1 {
  font-family: "Google Sans Heading", system-ui, -apple-system, Roboto, Arial, sans-serif;
  font-size: 1.9rem; font-weight: 400; color: #1f1f1f; margin-bottom: 24px;
}
.hero h1 span { display: block; font-weight: 500; font-size: 1.15em; color: #1f1f1f; }
.perks { list-style: none; margin: 0 auto 32px; padding: 0; max-width: 400px; text-align: left; }
.perks li { position: relative; padding-left: 36px; margin: 0 0 14px; font-size: 1.05rem; line-height: 1.5; }
.perks li::before {
  content: "\2713"; position: absolute; left: 0; top: 1px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--blue); color: #fff; font-weight: 700; font-size: .8rem;
  display: flex; align-items: center; justify-content: center;
}
.fineprint { font-size: .9rem; color: var(--muted); margin: 16px 0 0; }
.fineprint a { color: var(--blue); font-weight: 600; }
.note { background: #fff3cd; color: #5c4400; border-radius: 8px; padding: 10px 14px; font-size: .95rem; margin-top: 16px; }
.note p { margin: 0 0 12px; }
.qr { width: 180px; margin: 0 auto; background: #fff; padding: 8px; border-radius: 8px; }

/* Buttons: >=48px tap targets */
.btn {
  display: flex; align-items: center; justify-content: center;
  min-height: 52px; width: 100%;
  padding: 12px 16px; margin: 8px 0 4px;
  border-radius: 999px;
  background: var(--blue); color: #fff;
  font-weight: 600; font-size: 1rem; text-align: center; text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: background .15s;
}
.btn:hover, .btn:focus-visible { background: var(--blue-dark); }
.btn:focus-visible { outline: 3px solid #8ab4f8; outline-offset: 2px; }
.btn-xl {
  background: var(--blue); color: #fff;
  max-width: 400px; min-height: 64px; margin: 0 auto;
  font-size: 1.15rem; font-weight: 700; gap: 10px;
  box-shadow: 0 6px 18px rgba(26, 115, 232, .28);
}
.btn-xl:hover, .btn-xl:focus-visible { background: var(--blue-dark); }
.btn-outline { background: #fff; color: var(--blue); border: 2px solid var(--blue); }
.btn-outline:hover, .btn-outline:focus-visible { background: #e8f0fe; }

/* Deep link fallback */
.fallback {
  margin-top: 20px; padding-top: 4px; padding-bottom: 12px;
  background: #fff8e1; border: 1px solid #f9d77e; border-radius: var(--radius);
  max-width: 680px;
}
.fallback h2 { margin-top: .75em; color: #5c4400; }
.fallback ol { padding-left: 20px; }

/* Eligibility */
.checks { list-style: none; margin: 0 0 8px; padding: 0; }
.checks li { position: relative; padding-left: 30px; margin: 10px 0; }
.checks li::before { content: "\2713"; position: absolute; left: 4px; color: var(--blue); font-weight: 700; }
.pills { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 8px; padding: 0; }
.checks .pills li {
  margin: 0; padding: 4px 12px;
  border-radius: 999px; background: #e8f0fe; color: #174ea6;
  font-size: .9rem; font-weight: 500; line-height: 1.4;
}
.checks .pills li::before { content: none; }
.concerns { margin-top: 6px; }
.concerns summary {
  display: inline-flex; align-items: center; gap: 6px;
  cursor: pointer; list-style: none; color: var(--blue); font-weight: 600;
}
.concerns summary::-webkit-details-marker { display: none; }
.concerns summary::after {
  content: ""; width: 7px; height: 7px; margin-top: -4px;
  border: solid currentColor; border-width: 0 2px 2px 0;
  transform: rotate(45deg); transition: transform .15s;
}
.concerns[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.concerns p { font-size: .95rem; color: #3c4043; }
.muted { color: var(--muted); font-size: .95rem; }

/* What happens next */
.band { background: var(--band); padding: 4px 0 24px; margin-top: 24px; }
.flow { margin: 0 0 16px; padding-left: 22px; }
.flow li { margin: 0 0 4px; padding-left: 4px; }
.flow li::marker { color: var(--blue); font-weight: 700; }
.step-row { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 12px; }
.step-row p { flex: 1; margin: 0; }
.shot { flex: none; width: 120px; border-radius: 10px; box-shadow: 0 1px 4px rgba(0, 0, 0, .15); }

/* Video facade: loads YouTube only after tap */
.video-section { padding-bottom: 8px; }

/* Learn more links */
.learn-section { padding-bottom: 24px; }
.links { list-style: none; margin: 0 0 20px; padding: 0; border-top: 1px solid #e8eaed; }
.links li { padding: 12px 0; border-bottom: 1px solid #e8eaed; }
.links a { font-weight: 500; text-decoration: none; }
.links a:hover, .links a:focus-visible { text-decoration: underline; }
.links span { display: block; color: var(--muted); font-size: .85rem; margin-top: 2px; }
.yt {
  position: relative; display: block; width: 100%;
  aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: var(--radius);
  overflow: hidden; background: #000; cursor: pointer; margin-bottom: 16px;
}
.yt img { width: 100%; height: 100%; object-fit: cover; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-play {
  position: absolute; top: 50%; left: 50%;
  width: 68px; height: 48px; margin: -24px 0 0 -34px;
  background: #f00; border-radius: 14px;
}
.yt-play::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  margin: -10px 0 0 -7px;
  border-style: solid; border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent #fff;
}

/* Sticky bottom CTA (mobile) */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 5;
  padding: 8px 16px calc(8px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, .15);
}
.sticky-cta .btn { margin: 0 auto; max-width: 420px; }
.sticky-cta[hidden] { display: none; }

.footer { background: #f8f9fa; color: #5f6368; font-size: .85rem; padding: 20px 0 24px; text-align: center; border-top: 1px solid #e8eaed; }
.footer a { color: #5f6368; }
.cookie-ctl { background: none; border: 1px solid #dadce0; color: #3c4043; border-radius: 999px; padding: 8px 14px; font: inherit; cursor: pointer; }

@media (min-width: 768px) {
  body { font-size: 18px; }
  .hero { padding: 40px 0 24px; }
  .hero h1 { font-size: 2.6rem; }
  .btn { max-width: 420px; margin-left: auto; margin-right: auto; }
  .fallback { margin-left: auto; margin-right: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .concerns summary::after { transition: none; }
}
