/*
 * Patient information pages for the four screening packages.
 *
 * The look follows the information sheets themselves (navy band, teal
 * rules, teal-tinted "in plain terms" box), which are the practice's own
 * documents, and the same palette as the landing page. The colours are the
 * ones printed on the sheets, with the text shades deepened slightly so they
 * read comfortably on a phone screen.
 * Everything is driven from the custom properties below.
 */

:root {
  /* The sheets' own colours, read from the PDFs: navy #0e3a4f, teal #14b8a6,
     deep teal #0e8c80, green #2ba46a, amber #b8801c, ink #1e2a30, slate
     #5d7079, cream #fbf9f5. Text shades are deepened a little where the
     printed value is too light to read comfortably on a screen. */
  --navy: #0e3a4f; /* header band, headings */
  --teal: #14b8a6; /* mark, rules, buttons, bullets */
  --teal-line: #62cfc3; /* lighter teal rule */
  --teal-ink: #0a766c; /* deep teal for small text and links */
  --teal-tint: #e9f5f2; /* "In plain terms" box */
  --teal-tint-line: #bee3dc;
  --green: #1a7f4e; /* Benefits heading (sheet green #2ba46a, deepened) */
  --check: #2ba46a;
  --amber-ink: #96650e; /* Limitations heading (sheet amber #b8801c, deepened) */
  --amber: #b8801c;
  --cream: #fbf9f5; /* radiation and safety box */
  --cream-line: #e7e0d4;
  --ink: #1e2a30;
  --muted: #5d7079;
  --band-text: #c3dde3;
  --font: Helvetica, Arial, "Segoe UI", sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
:focus-visible { outline: 3px solid var(--teal-ink); outline-offset: 2px; }

.skip { position: absolute; left: -9999px; top: 8px; background: #fff; color: var(--navy); padding: 8px 12px; border-radius: 6px; z-index: 10; }
.skip:focus { left: 8px; }

/* Header band */
.band { background: var(--navy); border-bottom: 6px solid var(--teal); }
.band-in { max-width: 860px; margin: 0 auto; padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 14px; color: #fff; text-decoration: none; }
.mark { width: 48px; height: 48px; border-radius: 12px; background: var(--teal); color: var(--navy); display: grid; place-items: center; font-weight: 700; font-size: 26px; flex: none; }
.brand-name { font-weight: 700; font-size: 20px; letter-spacing: 0.01em; line-height: 1.15; }
.brand-tag { display: block; font-weight: 400; font-size: 12.5px; color: var(--band-text); margin-top: 2px; line-height: 1.3; }
.band-label { font-size: 12.5px; color: var(--band-text); text-align: right; }

/* Page */
main { max-width: 860px; margin: 0 auto; padding: 22px 24px 8px; }
.crumb { display: inline-block; font-size: 14px; color: var(--teal-ink); text-decoration: none; margin-bottom: 14px; }
.crumb:hover { text-decoration: underline; }

.title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
h1 { margin: 0; font-size: 34px; line-height: 1.15; color: var(--navy); font-weight: 700; letter-spacing: -0.005em; }
.subtitle { margin: 6px 0 0; color: var(--teal-ink); font-weight: 700; font-size: 17px; line-height: 1.35; }

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--teal); color: var(--navy);
  font: 700 15px/1 var(--font); text-decoration: none;
  padding: 13px 20px; border-radius: 8px; border: 0; cursor: pointer; white-space: nowrap;
}
.btn:hover { background: #10a596; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-ghost { background: transparent; border: 1.5px solid var(--teal-line); color: var(--navy); }
.btn-ghost:hover { background: var(--teal-tint); }
.file-note { margin: 7px 0 0; font-size: 12.5px; color: var(--muted); text-align: right; }

.plain {
  margin: 22px 0 6px; padding: 16px 20px;
  background: var(--teal-tint); border: 1px solid var(--teal-tint-line); border-radius: 4px;
}
.plain p { margin: 0; }

h2 {
  margin: 30px 0 10px; padding-bottom: 4px;
  font-size: 18px; line-height: 1.3; font-weight: 700; letter-spacing: 0.01em; text-transform: uppercase;
  color: var(--navy); border-bottom: 2px solid var(--teal);
}
h2.benefits { color: var(--green); }
h2.limits { color: var(--amber-ink); border-bottom-color: var(--teal-line); }

p { margin: 0 0 12px; }

ul.list { list-style: none; margin: 0; padding: 0; }
ul.list li { position: relative; padding-left: 24px; margin: 0 0 8px; }
ul.list li::before { position: absolute; left: 4px; top: 0; font-weight: 700; }
ul.bullets li::before { content: "\2022"; color: var(--teal); }
ul.checks li::before { content: "\2713"; color: var(--check); left: 3px; }
ul.cautions li::before { content: "!"; color: var(--amber); font-weight: 400; left: 8px; }

.safety {
  margin: 26px 0 0; padding: 14px 18px;
  background: var(--cream); border: 1px solid var(--cream-line); border-radius: 4px;
  color: var(--muted); font-size: 14.5px;
}
.safety p { margin: 0; }

.refs-intro { margin: 0 0 12px; font-style: italic; color: var(--muted); font-size: 14.5px; }
ol.refs { margin: 0; padding-left: 22px; font-size: 14.5px; line-height: 1.5; }
ol.refs li { margin: 0 0 9px; padding-left: 4px; overflow-wrap: anywhere; }
ol.refs a { color: var(--teal-ink); text-decoration: underline; }
ol.refs a:hover { color: var(--navy); }
.disclaimer { margin: 18px 0 0; font-style: italic; color: var(--muted); font-size: 14.5px; }

/* Onward links */
.more { margin: 34px 0 0; padding: 22px 0 0; border-top: 1px solid var(--teal-tint-line); }
.more h2 { margin-top: 0; }
.chips { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips a { display: inline-block; padding: 9px 16px; border: 1.5px solid var(--teal-line); border-radius: 999px; color: var(--navy); text-decoration: none; font-weight: 700; font-size: 14.5px; }
.chips a:hover { background: var(--teal-tint); }
.cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 0 0 6px; padding: 18px 20px; background: var(--teal-tint); border: 1px solid var(--teal-tint-line); border-radius: 4px; }
.cta p { margin: 0; font-weight: 700; color: var(--navy); }

/* Footer */
footer { margin-top: 32px; border-top: 6px solid var(--teal); }
.foot-in { max-width: 860px; margin: 0 auto; padding: 18px 24px 28px; font-size: 13.5px; color: var(--muted); }
.foot-in a { text-decoration: underline; }

@media (max-width: 600px) {
  .band-in { padding: 14px 16px; }
  .band-label { display: none; }
  main { padding: 18px 16px 4px; }
  h1 { font-size: 27px; }
  .subtitle { font-size: 15.5px; }
  h2 { font-size: 16px; }
  .title-row { align-items: flex-start; }
  .btn { width: 100%; justify-content: center; }
  .file-note { text-align: left; }
  .dl { width: 100%; }
  .cta .btn { width: 100%; }
  .foot-in { padding: 16px; }
}

@media print {
  .band { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .plain, .safety { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .crumb, .dl, .more, .skip { display: none; }
  body { font-size: 11pt; }
  h2, .plain, .safety, ol.refs li { break-inside: avoid; }
}
