/* ─────────────────────────────────────────────────────────────────────────
   OmniDental's website — what every page of it shares: the fonts, the Clear Chart tokens, the
   sheet, the buttons, the header and the footer. landing.html and tour.html both load it, so the
   tour is a page of the site rather than a site of its own. Each page's own layout is in its own
   file (marketing/landing.css, tour/player.css).

   Plain CSS for plain HTML: it ships from nginx with no build and no app bundle, so it is
   deliberately not Tailwind. The tokens are the app's own (src/styles.css) — ink, the rail's
   sage, stone canvas, Bughaw blue — and the look is the sign-in pages': a ruled sage sheet, a
   Fraunces headline, white panels separated by 1px lines. Blue is only for what you press.
   Fonts are self-hosted; the site calls nothing but its own files.
   ───────────────────────────────────────────────────────────────────────── */

@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("/fonts/plus-jakarta-sans/plus-jakarta-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("/fonts/plus-jakarta-sans/plus-jakarta-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/fonts/fraunces/fraunces-600-latin.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("/fonts/ibm-plex-mono/ibm-plex-mono-500-latin.woff2") format("woff2"); }

:root {
  --ink: #15171c; --ink-2: #434852; --ink-3: #5f6673; --ink-4: #6f7581;
  --line: #e4e5e0; --line-2: #d3d5cf;
  --rail: #dcebdf; --canvas: #f4f5f2;
  --brand: #3346d3; --brand-ink: #2a39b0; --brand-50: #eef0fd;
  --amber-50: #fff8ee; --amber-200: #f6d7b0; --amber-800: #7a2e0e;
  --sky-50: #f0f9ff; --sky-200: #bae6fd; --sky-800: #075985;
  --rose: #fda4af; --amber: #fcd34d; --sky: #7dd3fc;     /* the odontogram's fills */
  --wrap: 92rem;
  --header: 4.5rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 1rem); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: #fff; color: var(--ink);
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
/* height:auto is load-bearing: the width/height attributes are hints for the space an image will
   take, and without it the attribute height wins and the picture is stretched. */
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-ink); }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; letter-spacing: -.015em; }
p { margin: 0; }
.serif { font-family: "Fraunces", Georgia, serif; font-weight: 600; letter-spacing: -.01em; }
.num { font-family: "IBM Plex Mono", ui-monospace, monospace; font-variant-numeric: tabular-nums; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 64rem) { .wrap { padding: 0 2.5rem; } }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: .35rem; }

/* The sheet: the rail's sage, ruled faintly like a chart form, edge to edge. */
.sheet {
  background-color: var(--rail);
  background-image:
    linear-gradient(to right, rgb(15 23 42 / .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(15 23 42 / .045) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* ── Buttons: blue is what you press ─────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  border: 0; border-radius: .65rem; padding: .7rem 1.15rem; cursor: pointer; white-space: nowrap;
  font: inherit; font-weight: 600; font-size: .95rem; text-decoration: none;
  transition: background .15s ease, box-shadow .15s ease, color .15s ease;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-ink); }
.btn-secondary { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-secondary:hover { box-shadow: inset 0 0 0 1px var(--brand); color: var(--brand-ink); }
.btn-quiet { background: transparent; color: var(--ink); }
.btn-quiet:hover { background: var(--canvas); }
.btn-lg { padding: .9rem 1.5rem; font-size: 1.02rem; border-radius: .75rem; }
.btn-sm { padding: .5rem .9rem; font-size: .9rem; }

/* ── Header: a white bar with a line under it, on every page and at every scroll position ─────
   It used to sit on the sheet with no ground until the page scrolled, like the sign-in pages; the
   user read it as swallowed by the sheet (2026-11-20). It now matches the tour's step bar. */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header);
  background: rgb(255 255 255 / .88); backdrop-filter: saturate(160%) blur(10px); box-shadow: 0 1px 0 var(--line);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.1rem; white-space: nowrap; }
.brand .tile { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: .7rem; background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); flex: none; }
.brand .tile img { width: 1.6rem; height: 1.6rem; object-fit: contain; }
.site-nav { display: none; gap: 1.75rem; margin-left: 1rem; }
.site-nav a { color: var(--ink-2); font-size: .94rem; font-weight: 500; text-decoration: none; }
.site-nav a:hover { color: var(--brand-ink); }
.site-actions { margin-left: auto; display: flex; align-items: center; gap: .5rem; }
.wide-only { display: none; }
@media (min-width: 48rem) { .wide-only { display: inline-flex; } }
@media (min-width: 76rem) { .site-nav { display: flex; } }
/* On a large monitor the landing page's hero widens to 116rem; the header widens with it on every
   page, so the brand lines up with what is under it. */
@media (min-width: 100rem) { .site-header .wrap { max-width: 116rem; } }

/* Footer: quiet, on white. */
.site-footer { padding: 3.5rem 0 2rem; border-top: 1px solid var(--line); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2.5rem; }
.footer-brand img { width: 11rem; }
.footer-blurb { margin-top: 1rem; max-width: 24rem; color: var(--ink-3); font-size: .93rem; }
.footer-cols { display: flex; gap: 4rem; }
.footer-col { display: grid; gap: .5rem; align-content: start; }
.footer-col h4 { font-size: .92rem; margin-bottom: .25rem; }
.footer-col a { color: var(--ink-2); font-size: .93rem; text-decoration: none; }
.footer-col a:hover { color: var(--brand-ink); }
.footer-bot { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; font-size: .85rem; color: var(--ink-3); }
