/* Bitbit MD website. Colours follow the owner's walking-doctor logo (18 Oct 2026): navy word mark,
   shield blue, aqua scrubs, a small red cross. Type is the app's Plus Jakarta Sans, served from this
   site, so a page view asks no other machine for anything. */
@font-face {
  font-family: 'Plus Jakarta Sans'; src: url('/fonts/PlusJakartaSans-latin.woff2') format('woff2');
  font-weight: 200 800; font-style: normal; font-display: swap;
  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'; src: url('/fonts/PlusJakartaSans-latin-ext.woff2') format('woff2');
  font-weight: 200 800; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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;
}

:root {
  --bg: #f5f8fc;
  --surface: #ffffff;
  --tint: #e3eff9;
  --ink: #102a4c;
  --soft: #4a5d78;
  --line: #dbe4ef;
  --mint: #1f5fa6;
  --on-mint: #ffffff;
  --teal: #1f5fa6;
  --aqua: #3fbfc4;
  --cross: #e0393e;
  --amber-bg: #fff3d6;
  --amber: #6b4a00;
  --lift: 0 1px 2px rgba(14,21,34,.05), 0 18px 40px -12px rgba(14,21,34,.18);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1219;
    --surface: #151c26;
    --tint: #12233a;
    --ink: #e8eef6;
    --soft: #a6b4c8;
    --line: #243349;
    --mint: #5aa9f0;
    --on-mint: #0b1626;
    --teal: #7cbcf5;
    --aqua: #5fd3d7;
    --amber-bg: #3a2f12;
    --amber: #f3d690;
    --lift: 0 1px 2px rgba(0,0,0,.3), 0 18px 40px -12px rgba(0,0,0,.6);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
code { font-size: .9em; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.015em; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); font-weight: 800; margin: 0 0 .4em; }
h2 { font-size: clamp(1.45rem, 3.2vw, 2rem); font-weight: 800; margin: 0 0 .5em; }
h3 { font-size: 1.12rem; font-weight: 700; margin: 0 0 .35em; }
ul { padding-left: 1.2rem; }
li { margin: .3em 0; }

.wrap { max-width: 72rem; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 44rem; }

/* Header */
.site-head { background: var(--surface); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; padding-top: 12px; padding-bottom: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; color: var(--ink); text-decoration: none; }
.brand img { width: 40px; height: 40px; }
.site-head nav { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: .97rem; }
.site-head nav a { color: var(--soft); text-decoration: none; font-weight: 600; }
.site-head nav a:hover { color: var(--ink); }

/* Buttons */
.btn { display: inline-block; padding: 12px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.btn-mint { background: var(--mint); color: var(--on-mint); }
.btn-line { border: 1.5px solid var(--line); color: var(--ink); background: var(--surface); }

/* Sections */
section { padding: 64px 0; }
.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kicker { color: var(--teal); font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 .6em; }
.lead { font-size: 1.15rem; color: var(--soft); max-width: 40rem; }
.muted { color: var(--soft); }
.caption { color: var(--soft); font-size: .88rem; margin-top: 10px; }

/* Hero */
.hero { padding: 56px 0 40px; background: linear-gradient(180deg, var(--tint), var(--bg)); }
.hero-grid { display: grid; gap: 40px; align-items: center; grid-template-columns: 1fr; }
.tagline { font-size: clamp(1.2rem, 2.6vw, 1.5rem); font-weight: 700; color: var(--teal); margin: -.2em 0 .8em; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.status { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .9rem; font-weight: 600; color: var(--soft); margin-bottom: 20px; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--aqua); }
.shot { border-radius: 20px; box-shadow: var(--lift); background: var(--surface); }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 5fr 6fr; }
}

/* Day in the clinic */
.steps { display: grid; gap: 24px; grid-template-columns: 1fr; margin-top: 32px; }
.step { background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; }
.step .n { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--tint); color: var(--teal); font-weight: 800; margin-bottom: 12px; }
.step ul { margin: 0 0 20px; }
.step .shot { margin-top: auto; max-height: 460px; object-fit: cover; object-position: top; width: 100%; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }

/* Two-column feature rows */
.row { display: grid; gap: 32px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .row { grid-template-columns: 1fr 1fr; gap: 56px; } }
.row .shot-phone { max-width: 300px; margin: 0 auto; }
.card.google { margin-top: 40px; }
.card.google p, .card.google li { color: var(--ink); }

/* Cards grid */
.cards { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 28px; }
@media (min-width: 640px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .cards.three { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; }
.alt .card { background: var(--bg); }
.card p { margin: 0; color: var(--soft); }

.notdo { background: var(--amber-bg); color: var(--amber); border-radius: 16px; padding: 20px 24px; }
.notdo h3 { color: inherit; }
.notdo ul { margin: .4em 0 0; }

.proof { border-left: 4px solid var(--aqua); padding: 4px 0 4px 18px; margin: 24px 0 0; }

/* Contact */
.contact { text-align: center; }
.contact-logo { width: 128px; height: 128px; margin: 0 auto 16px; }
.contact .lead { margin-left: auto; margin-right: auto; }

/* Policy pages */
main.doc { padding: 32px 0 56px; }
main.doc h1 { font-size: clamp(1.8rem, 4vw, 2.3rem); }
main.doc h2 { font-size: 1.25rem; margin: 1.8em 0 .4em; }

.todo { background: var(--amber-bg); color: var(--amber); padding: 0 4px; border-radius: 3px; font-weight: 600; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 24px 0 40px; color: var(--soft); font-size: .93rem; background: var(--surface); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
footer nav a { margin-right: 18px; }

/* Simple home page (18 Oct 2026): few words, large type, one idea per block. */
.center { text-align: center; }
.hero h1 { margin-bottom: .5em; }
.values { display: grid; gap: 20px; grid-template-columns: 1fr; margin-top: 32px; }
@media (min-width: 900px) { .values { grid-template-columns: repeat(3, 1fr); } }
.value { background: var(--bg); border: 1px solid var(--line); border-top: 4px solid var(--aqua); border-radius: 16px; padding: 28px 26px; }
.value h3 { font-size: 1.35rem; margin-bottom: .5em; }
.value p { margin: 0; color: var(--soft); font-size: 1.08rem; }
ul.plain { list-style: none; padding: 0; font-size: 1.12rem; }
ul.plain li { padding: 12px 0 12px 32px; border-bottom: 1px solid var(--line); position: relative; }
ul.plain li::before { content: ""; position: absolute; left: 4px; top: 21px; width: 12px; height: 12px; border-radius: 50%; background: var(--aqua); }
.row .shot-paper { max-width: 380px; margin: 0 auto; }
