/* Lantern Medical — parent site (shared stylesheet with lanterntrace.com). Brand: teal #035A6B, gold #edc54f, slate #1D2D35, paper #F7F4EC.
   Headings Playfair Display 600, body Josefin Sans 400/600 (self-hosted, SIL OFL). No JS, no trackers. */

@font-face { font-family: "Josefin Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/JosefinSans-Regular.ttf") format("truetype"); }
@font-face { font-family: "Josefin Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/JosefinSans-SemiBold.ttf") format("truetype"); }
@font-face { font-family: "Playfair Display"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/PlayfairDisplay-SemiBold.ttf") format("truetype"); }

:root {
  --teal: #035A6B; --teal-deep: #02424f; --gold: #edc54f; --slate: #1D2D35; --paper: #F7F4EC;
  --ink: #1D2D35; --muted: #4f5d66; --line: #d9d3c5; --card: #ffffff;
  --max: 1080px; --radius: 14px;
  --body: "Josefin Sans", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --display: "Playfair Display", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 18px; line-height: 1.55; }
img, svg { display: block; max-width: 100%; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--teal-deep); }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.005em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; font-family: var(--body); font-weight: 600; letter-spacing: .01em; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--slate); padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 8px; z-index: 10; }

/* header */
.top { background: var(--slate); color: #fff; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.top .logo img { height: 56px; width: auto; }
.top nav { display: flex; gap: 22px; align-items: center; font-weight: 600; font-size: .98rem; }
.top nav a { color: #fff; text-decoration: none; }
.top nav a:hover { color: var(--gold); }
.btn { display: inline-block; padding: 12px 20px; border-radius: 10px; font-weight: 600; text-decoration: none; border: 2px solid transparent; line-height: 1.2; }
.btn-gold { background: var(--gold); color: var(--slate) !important; border-color: var(--gold); }
.btn-gold:hover { background: #f1d272; border-color: #f1d272; }
.btn-ghost { color: #fff !important; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { border-color: #fff; }
.btn-teal { background: var(--teal); color: #fff !important; border-color: var(--teal); }
.btn-teal:hover { background: var(--teal-deep); border-color: var(--teal-deep); }
.btn-outline { color: var(--teal) !important; border-color: var(--teal); }
.btn-outline:hover { background: rgba(3,90,107,.07); }

/* hero */
.hero { background: linear-gradient(180deg, var(--slate) 0%, #22343d 100%); color: #fff; padding: 64px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { color: #fff; margin-bottom: .45em; }
.hero p.lede { font-size: 1.2rem; color: #dfe6e9; max-width: 36em; }
.hero .cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.hero .fine { margin-top: 18px; font-size: .92rem; color: #b9c6cc; }
.hero .fine a { color: #fff; }
.device { background: #0f1a20; border-radius: 18px; padding: 18px; box-shadow: 0 30px 60px rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.08); }
.device .bar { display: flex; gap: 6px; margin-bottom: 14px; }
.device .bar span { width: 10px; height: 10px; border-radius: 50%; background: #35464f; }
.device .screen { background: #16242b; border-radius: 10px; padding: 16px; font-size: .9rem; color: #e6edf0; }
.device .crumb { color: #9fb0b8; font-size: .8rem; margin-bottom: 10px; }
.device .room { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 8px; background: #1e2f37; margin-bottom: 8px; }
.device .room b { font-weight: 600; }
.pill { font-size: .72rem; font-weight: 600; letter-spacing: .04em; padding: 4px 8px; border-radius: 999px; text-transform: uppercase; }
.pill.pass { background: #1e6b4f; color: #d9ffe9; }
.pill.fail { background: #7a2b2b; color: #ffe1e1; }
.pill.utt { background: #6b5a1e; color: #fff3cc; }
.pill.queue { background: #2f4a56; color: #d6ecf3; }
.device .foot { display: flex; justify-content: space-between; margin-top: 10px; font-size: .78rem; color: #9fb0b8; }

/* sections */
section { padding: 64px 0; }
section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kicker { font-family: var(--body); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; color: var(--teal); margin-bottom: 10px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 28px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 18px; }
section.alt .card { background: var(--paper); }
.card h3 { margin-top: 0; }
.card p { margin: 0; color: var(--muted); font-size: 1rem; }
.num { width: 36px; height: 36px; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 600; display: grid; place-items: center; margin-bottom: 12px; font-size: .95rem; }
.facts { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 28px; }
.facts li { padding-left: 28px; position: relative; font-size: 1rem; }
.facts li::before { content: ""; position: absolute; left: 0; top: .42em; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); box-shadow: inset 0 0 0 3px var(--paper); border: 2px solid var(--teal); }
section.alt .facts li::before { box-shadow: inset 0 0 0 3px #fff; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.quote { border-left: 4px solid var(--gold); padding: 6px 0 6px 20px; font-family: var(--display); font-size: 1.35rem; line-height: 1.35; color: var(--slate); margin: 0; }
.family { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 22px; }
.family a { text-decoration: none; color: inherit; }
.family .card { height: 100%; }
.family .card b { font-weight: 600; color: var(--teal); }

/* contact band */
.band { background: var(--teal); color: #fff; padding: 56px 0; }
.band h2 { color: #fff; }
.band p { color: #d7e8ec; max-width: 40em; }
.band .cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 10px; }

/* footer */
footer { padding: 36px 0 48px; font-size: .95rem; color: var(--muted); }
footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer img { height: 34px; width: auto; }

/* document pages */
.doc { padding: 56px 0 72px; }
.doc .wrap { max-width: 760px; }
.doc h1 { margin-bottom: .2em; }
.doc h2 { font-size: 1.45rem; margin-top: 2em; }
.doc table { width: 100%; border-collapse: collapse; font-size: .98rem; margin: 1em 0; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { font-weight: 600; background: #fff; }
.doc .meta { color: var(--muted); font-size: .95rem; margin-bottom: 2em; }
.note { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 10px; padding: 14px 16px; font-size: .98rem; }

/* utilities (inline style attributes are blocked by the CSP) */
.narrow { max-width: 44em; }
.mt-40 { margin-top: 40px; }
.hero .wrap.single { grid-template-columns: 1fr; }
.kicker.gold { color: var(--gold); }
.card .more { margin-top: 10px; color: var(--teal); font-weight: 600; }
.band a.inline { color: #fff; }

@media (max-width: 860px) {
  body { font-size: 17px; }
  .hero { padding: 44px 0 52px; }
  .hero .wrap, .split { grid-template-columns: 1fr; gap: 28px; }
  .grid, .grid.two, .family, .facts { grid-template-columns: 1fr; }
  .top nav { gap: 14px; font-size: .92rem; }
  .top nav .hide-sm { display: none; }
  section { padding: 48px 0; }
}
