/* bojiobro.com. The app's palette (mobile/src/lib/tokens.ts). No web fonts:
   the system stack, so no visitor's address goes to a font host. */
:root {
  --bg: #ffffff;
  --fill: #f2f2f2;
  --text: #1a1a1a;
  --muted: #666666;
  --faint: #767676;
  --border: #e5e5e5;
  --accent: #e8590c;
  --accent-soft: #fff0e6;
  --accent-fill: #cc4a06;
  --accent-text: #b33f0a;
  --dark: #121212;
  --bright: #ff7b33;
  --radius: 14px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.5; }
img { max-width: 100%; display: block; }
a { color: var(--accent-text); }
a:hover { color: #8f3208; }
h1, h2, h3 { line-height: 1.2; margin: 0; }
p { margin: 0; }

/* ----- header / footer ----- */
.top {
  height: 60px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px; background: var(--dark);
}
.brand img { height: 32px; width: auto; }
.pill {
  height: 36px; padding: 0 16px; display: inline-flex; align-items: center;
  border-radius: 999px; background: var(--accent-fill); color: #fff;
  font-size: 14px; font-weight: 600; text-decoration: none;
}
.pill:hover { color: #fff; background: var(--accent-text); }
.pill.ghost { background: transparent; border: 1px solid #3a3a3a; }
.pill.ghost:hover { background: #222; }
.foot { padding: 24px 16px 32px; font-size: 13px; color: var(--faint); max-width: 720px; margin: 0 auto; }
.foot a { color: var(--faint); }

/* ----- buttons ----- */
.btn {
  min-height: 48px; padding: 0 18px; display: flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: var(--radius); font-size: 16px; font-weight: 700; text-decoration: none; text-align: center;
}
.btn.primary { background: var(--accent-fill); color: #fff; }
.btn.primary:hover { background: var(--accent-text); color: #fff; }
.btn.dark { background: var(--dark); color: #fff; }
.btn.dark:hover { background: #2a2a2a; color: #fff; }
.btn.outline { border: 1px solid var(--border); color: var(--text); }
.btn.small { min-height: 38px; padding: 0 12px; font-size: 14px; border-radius: 10px; }
.btn.half { flex: 1; font-size: 15px; }

/* ----- share pages ----- */
.share { max-width: 520px; margin: 0 auto; }
.share.narrow { max-width: 420px; padding-top: 48px; }
.pad { padding: 16px; }
.stack { display: flex; flex-direction: column; gap: 10px; }
.center { align-items: center; text-align: center; }
.row { display: flex; gap: 10px; padding-top: 4px; }
.share h1 { font-size: 26px; font-weight: 800; }
.share h2 { font-size: 17px; font-weight: 700; }
.sub { font-size: 16px; color: var(--muted); }
.strong { color: var(--text); font-weight: 600; }
.lead { font-size: 18px; color: var(--muted); }
.muted { color: var(--muted); font-size: 15px; }
.small { font-size: 13px; }
.facts { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; color: var(--muted); font-size: 15px; }
.rating { display: inline-flex; align-items: center; gap: 4px; color: var(--text); }
.star { fill: var(--accent); }
.hero-photo { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--fill); }
.hero-photo.short { aspect-ratio: 16 / 10; }
.hero-card { height: 200px; display: flex; align-items: center; justify-content: center; background: var(--dark); }
.card { margin: 0 16px; padding: 16px; border: 1px solid var(--border); border-radius: 16px; }
.share .stack .card { margin: 6px 0 0; }
.plan { display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.plan-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan-row + .plan-row { border-top: 1px solid var(--border); padding-top: 10px; }
.plan a { color: var(--text); }
.mosaic { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 130px 130px; gap: 4px; }
.mosaic.n2 { grid-template-rows: 260px; }
.mosaic.n2 .big { grid-row: auto; }
.mosaic.n1 { grid-template-columns: 1fr; grid-template-rows: 260px; }
.mosaic.n1 .big { grid-row: auto; }
.tile { display: block; background: var(--fill); overflow: hidden; border-radius: 6px; aspect-ratio: 1; }
.mosaic .tile { border-radius: 0; aspect-ratio: auto; }
.mosaic .big { grid-row: 1 / 3; }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.tile.more { background: var(--dark); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-decoration: none; }
.tile.more b { font-size: 20px; }
.tile.more span { font-size: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { height: 32px; padding: 0 12px; display: inline-flex; align-items: center; border-radius: 999px; background: var(--fill); font-size: 14px; }
.rating-card { display: flex; gap: 18px; align-items: center; margin-top: 8px; }
.score { display: flex; flex-direction: column; align-items: center; }
.score b { font-size: 40px; font-weight: 800; line-height: 1; }
.score span { font-size: 12px; color: var(--muted); }
.bars { flex: 1; display: flex; flex-direction: column; gap: 5px; font-size: 12px; color: var(--muted); }
.bar { display: flex; align-items: center; gap: 8px; }
.bar span { width: 8px; }
.bar i { flex: 1; height: 6px; border-radius: 3px; background: var(--fill); display: block; }
.bar em { display: block; height: 6px; border-radius: 3px; background: var(--accent); }
.w0 { width: 0; } .w5 { width: 5%; } .w10 { width: 10%; } .w15 { width: 15%; } .w20 { width: 20%; }
.w25 { width: 25%; } .w30 { width: 30%; } .w35 { width: 35%; } .w40 { width: 40%; } .w45 { width: 45%; }
.w50 { width: 50%; } .w55 { width: 55%; } .w60 { width: 60%; } .w65 { width: 65%; } .w70 { width: 70%; }
.w75 { width: 75%; } .w80 { width: 80%; } .w85 { width: 85%; } .w90 { width: 90%; } .w95 { width: 95%; } .w100 { width: 100%; }
.cta { margin: 24px 16px 0; padding: 18px; border-radius: 16px; background: var(--accent-soft); display: flex; flex-direction: column; gap: 10px; }
.cta p { color: #4d4d4d; font-size: 15px; }

/* ----- landing ----- */
.hero { background: var(--dark); color: #fff; padding: 28px 16px 40px; overflow: hidden; }
.hero h1 { font-size: 34px; font-weight: 800; letter-spacing: -0.5px; }
.hero p { margin-top: 12px; font-size: 18px; color: #c9c9c9; max-width: 34ch; }
.stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.store {
  min-width: 160px; padding: 9px 16px; border-radius: 12px; background: #fff; color: var(--dark);
  display: flex; flex-direction: column; text-decoration: none; line-height: 1.25;
}
.store small { font-size: 12px; color: var(--muted); }
.store b { font-size: 16px; }
.store:hover { color: var(--dark); background: #f0f0f0; }
.store.off { background: #2a2a2a; color: #bdbdbd; }
.store.off small { color: #8c8c8c; }
.download .store { background: var(--dark); color: #fff; }
.download .store small { color: #bdbdbd; }
.download .store.off { background: var(--fill); color: var(--muted); }
.shots { display: flex; gap: 12px; margin: 32px -16px 0; padding: 0 16px 4px; overflow-x: auto; scroll-snap-type: x mandatory; }
.phone { margin: 0; flex: 0 0 44%; scroll-snap-align: center; }
.phone img { width: 100%; height: auto; border-radius: 22px; border: 5px solid #2b2b2b; background: #1d1d1d; }
.phone figcaption { margin-top: 8px; text-align: center; font-size: 14px; color: #bdbdbd; }
.features { max-width: 1040px; margin: 0 auto; padding: 36px 16px 8px; display: grid; gap: 28px; }
.features h2 { font-size: 22px; font-weight: 800; }
.features p { margin-top: 8px; color: #4d4d4d; font-size: 16px; }
.bojio { margin: 28px 16px 0; padding: 24px; border-radius: 20px; background: var(--accent); color: #fff; }
.bojio h2 { font-size: 26px; font-weight: 800; }
.bojio p { margin-top: 8px; font-size: 16px; }
.privacy-note, .download { max-width: 1040px; margin: 0 auto; padding: 36px 16px 0; }
.privacy-note h2, .download h2 { font-size: 22px; font-weight: 800; }
.privacy-note p, .download p { margin: 8px 0; color: #4d4d4d; font-size: 16px; }
.download { padding-bottom: 12px; }

/* ----- documents ----- */
.doc { max-width: 720px; margin: 0 auto; padding: 24px 16px; }
.doc h1 { font-size: 30px; font-weight: 800; margin-bottom: 6px; }
.doc h2 { font-size: 19px; margin: 26px 0 8px; }
.doc h3 { font-size: 16px; margin-bottom: 4px; }
.doc p { margin-top: 10px; color: #333; }
.doc .faq { margin-top: 18px; }

@media (min-width: 900px) {
  .top { padding: 0 32px; }
  .hero { padding: 56px 32px 64px; }
  .hero > * { max-width: 1040px; margin-left: auto; margin-right: auto; }
  .hero h1 { font-size: 52px; max-width: 16ch; }
  .shots { margin: 44px auto 0; padding: 0; overflow: visible; justify-content: center; gap: 22px; }
  .phone { flex: 0 0 210px; }
  .phone:nth-child(odd) { transform: translateY(18px); }
  .features { grid-template-columns: 1fr 1fr; gap: 36px 56px; padding-top: 56px; }
  .bojio { max-width: 1040px; margin: 40px auto 0; padding: 36px 40px; }
  .share { padding-bottom: 12px; }
}
