/* Shared base for the connector pages. Tokens match teledirectmd.com (light and dark). */
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("/fonts/dm-sans-latin.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/fraunces-600-latin.woff2") format("woff2"); }

:root {
  --page: #ffffff; --soft: #f3fafb; --text: #12323a; --muted: #4b5f66; --border: #dde3e6;
  --teal: #006b73; --navy: #003e52; --on-navy: #ffffff; --accent: #ff5a36; --focus: #ff5a36;
  --code: #eaf3f5; --alert: #fff1ec; --alert-text: #7a2410;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Fraunces", Georgia, serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --page: #0a171c; --soft: #0f1f24; --text: #e2edf0; --muted: #9fb6bf; --border: #33505d;
    --teal: #2bc4cf; --navy: #2bc4cf; --on-navy: #04252b; --accent: #ff7a5c; --focus: #ffb199;
    --code: #122028; --alert: #2a1612; --alert-text: #ffd2c4;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--text); font: 17px/1.6 var(--sans); }
::selection { background: color-mix(in srgb, var(--teal) 25%, transparent); }
a { color: var(--teal); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 10; padding: 10px 14px; border-radius: 8px; background: var(--navy); color: var(--on-navy); }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; color: var(--text); }
h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.25rem); margin: 0 0 20px; }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 1.9rem); margin: 0 0 16px; }
h3 { font-size: 1.2rem; margin: 28px 0 8px; }
p, li { text-wrap: pretty; }
code { font-family: var(--mono); font-size: .88em; background: var(--code); padding: 2px 6px; border-radius: 5px; white-space: nowrap; }

.site-header { border-bottom: 1px solid var(--border); }
.site-header .bar { max-width: 1040px; margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.site-header .logo { display: block; line-height: 0; }
.site-header .logo img { height: 44px; width: auto; }
.logo-dark { display: none; }
@media (prefers-color-scheme: dark) { .logo-light { display: none; } .logo-dark { display: inline; } }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px; border-radius: 999px; background: var(--navy); color: var(--on-navy); font: 600 1rem/1.2 var(--sans); text-decoration: none; border: 0; cursor: pointer; }
.button:hover { text-decoration: none; background: color-mix(in srgb, var(--navy) 88%, var(--text)); }
.button.quiet { background: transparent; color: var(--teal); border: 1px solid var(--border); }
.button.quiet:hover { background: var(--soft); border-color: var(--teal); }

.site-footer { border-top: 1px solid var(--border); margin-top: 72px; }
.site-footer .bar { max-width: 1040px; margin: 0 auto; padding: 24px 20px 40px; font-size: .92rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.site-footer nav { display: flex; gap: 4px 20px; flex-wrap: wrap; }
.site-footer a { display: inline-block; padding: 10px 0; }
