/* Static marketing pages — same palette as the rehab landing (Landing.jsx):
   dark navy header/hero/footer, light cream body with white cards. Served
   brand-gated by the vite brandMarketingPages plugin; bloodhabits builds
   never include them. */
:root {
  --ink: #142232;
  --muted: #5c6a79;
  --navy: #0e1826;
  --navy-band: #0c1c2b;
  --footer: #0b1520;
  --cream: #f7f9f8;
  --alt: #edf4f5;
  --line: #e1e9ec;
  --blue: #0a91df;
  --blue-deep: #096fba;
  --blue-chip-bg: #e9f6fc;
  --blue-chip-ink: #0874b7;
  --ice: #8ae4f5;
  --radius: 0.75rem;
  --font-heading: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.container { max-width: 48rem; margin: 0 auto; padding: 0 1.25rem; }
a { color: var(--blue-deep); text-decoration: none; }
h1, h2, h3 { font-family: var(--font-heading); letter-spacing: -0.02em; line-height: 1.15; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; background: #fff; padding: .5rem 1rem; border-radius: .5rem; z-index: 10; }

/* Header (dark navy, like the landing) */
.site-header { background: var(--navy); color: #ecf7fb; border-bottom: 1px solid rgba(255,255,255,.1); }
.site-header .shell { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 1.25rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: #fff; font-family: var(--font-heading); font-weight: 700; font-size: 1.05rem; }
.brand img { width: 2rem; height: 2rem; border-radius: .5rem; }
.nav { display: flex; gap: 1.1rem; font-size: .85rem; }
.nav a { color: #c1d0d9; }
.nav a:hover, .nav a[aria-current="page"] { color: #7be0f8; }
@media (max-width: 40rem) { .nav { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border-radius: 13px; padding: .7rem 1.4rem; font-size: .875rem; font-weight: 700; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 12px 26px rgba(4,122,205,.25); }
.btn-ghost { border: 1px solid rgba(255,255,255,.25); color: #eff8fd; }
.store-row { display: flex; align-items: center; justify-content: center; gap: .75rem; flex-wrap: wrap; margin-top: 1.1rem; }
.store-row img { height: 3rem; display: block; }
.play-badge { display: inline-flex; align-items: center; gap: .5rem; height: 3rem; border: 1px solid rgba(255,255,255,.2); background: #000; border-radius: .5rem; padding: 0 1rem; font-size: .875rem; font-weight: 500; color: #fff; }

/* Hero — dark gradient banner on the light page */
.hero { text-align: center; padding: 3.5rem 1.25rem 3rem; background: radial-gradient(ellipse 70% 90% at 88% 49%, #19364d 0%, #122333 44%, #0e1826 100%); color: #fff; }
.hero .eyebrow { display: inline-block; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: #91d6e8; font-weight: 800; margin-bottom: 1rem; }
.hero h1 { font-size: clamp(1.9rem, 5vw, 2.7rem); font-weight: 700; margin-bottom: .9rem; letter-spacing: -0.04em; }
.hero p.sub { color: #beccd7; max-width: 36rem; margin: 0 auto 1.6rem; }
.cta-row { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }
.hero-note { font-size: .75rem; color: #96afbb; margin-top: 1.4rem; }

/* Sections */
.section { padding: 2.6rem 0 2.2rem; }
.section-head { text-align: center; margin-bottom: 1.4rem; }
.section-head h2 { font-size: clamp(1.35rem, 3vw, 1.7rem); font-weight: 700; margin-bottom: .5rem; letter-spacing: -0.03em; }
.section-head p { color: var(--muted); font-size: .9rem; max-width: 36rem; margin: 0 auto; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 19px; padding: 1.4rem; box-shadow: 0 10px 35px rgba(30,60,80,.035); }
.card h3 { font-size: .95rem; font-weight: 700; margin-bottom: .4rem; }
.card p, .card li { font-size: .875rem; color: var(--muted); }
.grid-3 { display: grid; gap: .9rem; }
.grid-2 { display: grid; gap: .9rem; }
@media (min-width: 40rem) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}
.bullets { list-style: none; display: grid; gap: .6rem; margin-top: 1rem; }
.bullets li { padding-left: 1.4rem; position: relative; font-size: .95rem; }
.bullets li::before { content: "✓"; position: absolute; left: 0; color: var(--blue-chip-ink); font-weight: 800; }

/* Paper → checklist comparison */
.comparison { background: #e7eff3; border-radius: 26px; padding: 1.6rem; margin-top: 1.5rem; }
.paper { width: 85%; background: #fff; color: var(--ink); border: 1px solid #deebef; border-radius: 12px; box-shadow: 0 15px 26px rgba(14,46,67,.11); padding: 1.25rem; transform: rotate(-4deg); }
.paper .paper-title { font-size: .72rem; letter-spacing: .1em; font-weight: 800; color: #183346; margin-bottom: .9rem; }
.paper .line { height: .5rem; background: #dce9ee; border-radius: 99px; margin-bottom: .55rem; }
.paper .line.short { width: 70%; }
.paper .line.tiny { width: 42%; }
.paper small { display: block; margin-top: .9rem; font-size: .7rem; color: #8799a5; }
.converted { position: relative; background: #132538; color: #fff; border: 2px solid #71d6f3; border-radius: 16px; padding: 1.25rem; width: 80%; margin: -1.2rem 0 0 auto; transform: rotate(3deg); box-shadow: 0 20px 40px rgba(0,0,0,.15); }
.converted h4 { font-family: var(--font-heading); font-size: .85rem; margin-bottom: .7rem; }
.task { display: flex; justify-content: space-between; align-items: center; gap: .5rem; font-size: .8rem; background: #21374e; border-radius: 8px; padding: .55rem .65rem; margin: .4rem 0; }
.task .done { color: #71def9; font-weight: 800; }

/* Note / safety box */
.note-box { border-left: 4px solid #168cc9; background: #eaf5f9; border-radius: 0 15px 15px 0; padding: 1.1rem 1.4rem; font-size: .875rem; color: #536577; margin-top: 1.2rem; }
.note-box strong { color: var(--ink); }

/* Accent panel (dark navy, like the landing's story panel) */
.accent-panel { background: linear-gradient(135deg, #102233, #162f42); border-radius: 26px; padding: 2.2rem 1.5rem; text-align: center; color: #fff; }
.accent-panel .label { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: #91d6e8; font-weight: 800; }
.accent-panel .big { font-family: var(--font-heading); font-size: clamp(1.5rem, 4vw, 2rem); font-weight: 700; margin: .8rem 0 .4rem; letter-spacing: -0.03em; }
.accent-panel p { color: #becfda; font-size: .9rem; }

/* Closing CTA band (dark, full-width feel inside container) */
.cta-band { background: var(--navy-band); color: #fff; border-radius: 1.25rem; padding: 2.2rem 1.5rem; text-align: center; margin: 2rem 0 3rem; }
.cta-band h2 { font-size: 1.35rem; font-weight: 700; margin-bottom: .4rem; letter-spacing: -0.03em; }
.cta-band p { font-size: .875rem; color: #a5bac7; margin-bottom: 1.2rem; }

/* Footer (darkest navy) */
.site-footer { background: var(--footer); color: #b1c4d0; padding: 2.2rem 0 1.8rem; text-align: center; font-size: .78rem; }
.site-footer .links { margin-bottom: .75rem; }
.site-footer .links a { margin: 0 .4rem; color: #bed0dc; }
.site-footer .links a:hover { color: #7be0f8; }
.site-footer .legal { color: #8ba0af; }
