/* MyBob - mybob.health. The app's palette (cream, teal, amber), acodme's
   structure: thin two-colour line, quiet header, big serif headline with
   italic coloured words, a stat row, lots of air. */
:root {
  --bg: #f4f1ea;
  --paper: #fbfaf6;
  --ink: #1d2524;
  --muted: #5d6663;
  --accent: #2f5d5b;
  --accent-ink: #ffffff;
  --copper: #a8601c;
  --rule: #e2ddd2;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1120px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; }
a { color: var(--accent); }
img { max-width: 100%; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

.topline { height: 4px; background: linear-gradient(90deg, var(--accent), var(--copper)); }
.header { background: #fff; border-bottom: 1px solid var(--rule); }
.header .wrap { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.mark { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.mark i { width: 28px; height: 28px; border-radius: 8px; background: var(--accent); color: #fff; display: grid; place-items: center; font-style: normal; font-family: var(--serif); font-size: 17px; }
.nav { display: none; gap: 26px; margin: 0 auto; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav a:hover { color: var(--ink); }
.header .actions { margin-left: auto; display: flex; gap: 10px; align-items: center; }
@media (min-width: 900px) { .nav { display: flex; } .header .actions { margin-left: 0; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 10px; font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid var(--accent); background: var(--accent); color: var(--accent-ink); white-space: nowrap; }
.btn:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--accent); }
.btn.big { min-height: 52px; padding: 0 24px; font-size: 16px; }
@media (max-width: 420px) { .header .btn.ghost { border: 0; padding: 0 6px; } .header .btn { padding: 0 14px; } .mark { font-size: 18px; } }

.hero { padding: 56px 0 40px; background: radial-gradient(1200px 500px at 85% 0%, #e7ece7 0%, transparent 60%); }
.hero .wrap { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero .wrap { grid-template-columns: 1.15fr 0.85fr; } .hero { padding: 80px 0 56px; } }
.pill { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--muted); background: #fff; border: 1px solid var(--rule); border-radius: 999px; padding: 6px 12px; }
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--copper); }
h1, h2, .stat b { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; }
h1 { font-size: clamp(44px, 8vw, 84px); line-height: 1.02; margin: 20px 0 20px; }
h1 em, h2 em { font-style: italic; }
.c1 { color: var(--copper); } .c2 { color: var(--accent); }
.lede { color: var(--muted); font-size: 19px; max-width: 34em; margin: 0 0 28px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.small { color: var(--muted); font-size: 14px; margin-top: 14px; }

/* the sample text thread */
.phone { justify-self: center; width: 100%; max-width: 360px; background: #fff; border: 1px solid var(--rule); border-radius: 28px; padding: 18px 16px 20px; box-shadow: 0 30px 60px -30px rgba(29,37,36,.35); }
.phone .who { text-align: center; font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.phone .who b { display: block; color: var(--ink); font-size: 15px; }
.msg { max-width: 82%; padding: 9px 13px; border-radius: 18px; font-size: 15px; line-height: 1.4; margin: 6px 0; }
.msg.me { margin-left: auto; background: var(--accent); color: #fff; border-bottom-right-radius: 6px; }
.msg.bob { background: #eef0ec; border-bottom-left-radius: 6px; }
.caption { text-align: center; font-size: 12px; color: var(--muted); margin-top: 12px; letter-spacing: .02em; }

.stats { border-top: 1px solid var(--rule); padding: 28px 0 8px; }
.stats .wrap { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
@media (min-width: 820px) { .stats .wrap { grid-template-columns: repeat(4, 1fr); } }
.stat b { display: block; font-size: 40px; line-height: 1.1; color: var(--ink); }
.stat b span { color: var(--copper); }
.stat small { color: var(--muted); font-size: 14px; }

section.band { padding: 64px 0; }
section.band.paper { background: var(--paper); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
h2 { font-size: clamp(32px, 5vw, 48px); line-height: 1.1; margin: 0 0 12px; }
.intro { color: var(--muted); max-width: 40em; margin: 0 0 32px; }
.cards { display: grid; gap: 20px; }
@media (min-width: 820px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { background: #fff; border: 1px solid var(--rule); border-radius: 16px; padding: 22px 22px 18px; }
.card h3 { margin: 0 0 8px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.steps { counter-reset: s; display: grid; gap: 20px; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { list-style: none; counter-increment: s; }
.steps li::before { content: counter(s); font-family: var(--serif); font-size: 36px; color: var(--copper); display: block; line-height: 1; margin-bottom: 8px; }
.steps { padding: 0; margin: 0; }
.steps h3 { margin: 0 0 6px; font-size: 19px; }
.steps p { margin: 0; color: var(--muted); }
.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.ticks { padding: 0; margin: 0; list-style: none; }
.ticks li { padding-left: 26px; position: relative; margin: 10px 0; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.closing { text-align: center; padding: 72px 0; }
.closing .cta { justify-content: center; }

.footer { border-top: 1px solid var(--rule); background: #fff; padding: 32px 0; font-size: 14px; color: var(--muted); }
.footer .wrap { display: grid; gap: 14px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer nav a { color: var(--ink); text-decoration: none; }

/* legal and support pages */
.doc-head { padding: 48px 0 8px; }
.doc-head h1 { font-size: clamp(36px, 6vw, 56px); margin: 0 0 6px; }
.updated { color: var(--muted); margin: 0; }
.doc { padding-bottom: 64px; }
.doc .row { border-top: 1px solid var(--rule); padding: 24px 0; display: grid; gap: 8px; }
@media (min-width: 820px) { .doc .row { grid-template-columns: 14rem 1fr; gap: 32px; } }
.doc .label { font-family: var(--sans); font-size: 15px; font-weight: 700; margin: 0; letter-spacing: 0; text-transform: none; line-height: 1.5; }
.doc .content { max-width: 64ch; }
.doc .content > :first-child { margin-top: 0; }
