/* Bolo website. One stylesheet, no build step, no external requests.
   Warm paper, near-black ink, and the coral from the app icon. One display face for the big lines. */
:root {
  --paper: #fbf8f2;
  --card: #ffffff;
  --ink: #1b1917;
  --ink-2: #57524c;
  --ink-3: #6b665f;
  --line: rgba(27, 25, 23, 0.1);
  --coral: #d4472e;       /* headlines, icons, fills */
  --coral-text: #b0351d;  /* small text: passes 4.5 to 1 on paper, white, peach and sand */
  --peach: #f7ddd0;
  --sand: #efe8db;
  /* Apple's rounded system face where the browser offers it, Apple's standard face otherwise.
     No font files are shipped: each visitor's own system supplies the font. */
  --display: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display-weight: 600;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
em { font-style: normal; color: var(--coral); }

/* Top bar */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; text-decoration: none; }
.brand img { width: 30px; height: 30px; display: block; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 26px; border-radius: 999px;
  background: var(--ink); color: var(--paper) !important;
  font-size: 16px; font-weight: 600; text-decoration: none; white-space: nowrap;
}
.btn:hover { background: #000; }

/* Hero */
.hero { text-align: center; padding-top: 48px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
h1, h2 { font-family: var(--display); font-weight: var(--display-weight); letter-spacing: -0.025em; margin: 0; }
.lede { margin: 26px auto 0; max-width: 34ch; font-size: clamp(18px, 2.2vw, 22px); color: var(--ink-2); }
.lede.wide { max-width: none; margin-top: 8px; }
.cta { margin-top: 32px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.fine { font-size: 13.5px; color: var(--ink-3); margin: 0; }

/* Stage: a block of colour with the product on it */
.stage { margin-top: 64px; border-radius: 36px; background: var(--peach); padding: clamp(20px, 5vw, 64px) clamp(16px, 5vw, 64px) 0; overflow: hidden; }
.window {
  display: grid; grid-template-columns: 190px 280px minmax(0, 1fr); gap: 8px; padding: 8px;
  background: #ece7df; border-radius: 22px 22px 0 0; text-align: left; font-size: 13px; line-height: 1.4;
  box-shadow: 0 30px 60px rgba(60, 30, 15, 0.18);
}
.pane { background: var(--card); border-radius: 16px; min-width: 0; overflow: hidden; }
.pane.side { background: rgba(255, 255, 255, 0.66); padding: 14px 10px 26px; display: grid; gap: 16px; align-content: start; }
.lights { display: flex; gap: 8px; padding: 2px 6px; }
.lights i { width: 12px; height: 12px; border-radius: 50%; display: block; }
.side h4 { margin: 0 0 4px; padding: 0 8px; font-size: 11.5px; font-weight: 600; color: var(--ink-3); }
.side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.window svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.side li { height: 32px; padding: 0 8px; border-radius: 9px; display: flex; align-items: center; gap: 8px; }
.side li.on { background: rgba(212, 71, 46, 0.12); color: var(--coral-text); font-weight: 600; }
.pane.list { background: #fdfcfa; padding: 12px 8px 26px; }
.search { height: 36px; margin: 0 4px 8px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-3); display: flex; align-items: center; }
.row { padding: 9px 10px; border-radius: 12px; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; }
.row.on { background: rgba(212, 71, 46, 0.1); }
.tile { width: 28px; height: 28px; border-radius: 8px; background: rgba(27, 25, 23, 0.06); color: var(--ink-3); display: grid; place-items: center; }
.tile.meet { background: rgba(212, 71, 46, 0.16); color: var(--coral); }
.row b, .row small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row small { font-size: 11.5px; color: var(--ink-3); }
.pane.detail { padding: 22px 30px 34px; }
.detail .meta { font-size: 12px; color: var(--ink-3); }
.detail h3 { margin: 6px 0 12px; font-family: var(--display); font-weight: var(--display-weight); font-size: 26px; letter-spacing: -0.025em; line-height: 1.15; }
.filed { display: inline-flex; gap: 8px; align-items: center; padding: 7px 12px; border-radius: 999px; background: rgba(212, 71, 46, 0.1); color: var(--coral-text); font-size: 12px; font-weight: 600; }
.said { display: grid; grid-template-columns: 38px 74px minmax(0, 1fr); gap: 10px 10px; margin-top: 20px; font-size: 14.5px; line-height: 1.45; }
.said span:nth-child(3n+1) { font-size: 11.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; padding-top: 3px; }
.said b { font-weight: 600; }

/* Features */
.feature { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(28px, 6vw, 80px); align-items: center; padding-top: clamp(72px, 10vw, 128px); }
.feature h2 { font-size: clamp(38px, 5.4vw, 64px); line-height: 1.03; }
.feature p { margin: 18px 0 0; max-width: 30ch; font-size: 19px; color: var(--ink-2); }
.art { border-radius: 32px; padding: clamp(24px, 5vw, 56px); min-width: 0; }
.art.peach { background: var(--peach); }
.sheet { background: var(--card); border-radius: 20px; padding: 24px 26px; box-shadow: 0 20px 44px rgba(60, 30, 15, 0.12); }
.sheet.typed { font-size: 19px; line-height: 1.5; min-height: 132px; }
.caret { display: inline-block; width: 2px; height: 1.1em; background: var(--coral); vertical-align: text-bottom; margin-left: 2px; }
.capsule {
  margin: 22px auto 0; width: max-content; display: flex; align-items: center; gap: 9px; height: 36px; padding: 0 16px;
  border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums;
}
.capsule .rec { width: 9px; height: 9px; border-radius: 50%; background: #ff6b57; }
.bars { display: flex; align-items: center; gap: 2.5px; height: 16px; }
.bars i { width: 3px; border-radius: 2px; background: var(--paper); display: block; }

/* Before launch the buy button is replaced by this line (see scripts/deploy-site.sh). */
.soon { margin: 0; font-family: var(--display); font-weight: var(--display-weight); font-size: 22px; color: var(--coral-text); }

/* Questions */
.faq { max-width: 720px; margin: 0 auto; padding-top: clamp(80px, 11vw, 144px); }
.faq h2 { font-size: clamp(34px, 4.6vw, 52px); text-align: center; margin-bottom: 26px; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; padding: 20px 0; font-size: 18px; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--ink-3); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { margin: 0 0 22px; color: var(--ink-2); max-width: 58ch; }

/* Footer */
footer { margin-top: clamp(80px, 11vw, 144px); padding: 28px 0 44px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 14.5px; }
.foot { display: flex; gap: 20px; flex-wrap: wrap; justify-content: space-between; align-items: center; }
.foot nav { display: flex; gap: 24px; flex-wrap: wrap; }
.foot a { text-decoration: none; display: inline-block; padding: 12px 0; }
.foot a:hover { color: var(--ink); }

/* Documents (privacy) */
.doc { max-width: 720px; margin: 0 auto; padding: 28px 28px 96px; }
.doc h1 { font-size: clamp(44px, 7vw, 72px); margin: 40px 0 8px; }
.doc h2 { font-size: 28px; margin: 44px 0 10px; letter-spacing: -0.01em; }
.doc p, .doc li { color: var(--ink-2); }
.doc code { font-family: var(--mono); font-size: 0.86em; }
.doc a { color: var(--coral-text); }
.doc a.brand { color: var(--ink); }
.doc ol { padding-left: 1.2em; }
.doc li { margin: 6px 0; }
.docnav { margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14.5px; }
.cta .fine { max-width: 72ch; line-height: 1.5; }
.cta .fine a { color: var(--coral-text); }
.doc .btn { margin: 6px 0; }
.todo, .doc .todo { background: #fff0c2; color: #5c4400; padding: 1px 7px; border-radius: 6px; font-weight: 600; font-size: 0.92em; }

@media (max-width: 900px) {
  .window { grid-template-columns: minmax(0, 1fr); }
  .pane.detail { padding: 20px 20px 28px; }
  .said { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .said span:nth-child(3n+1) { display: none; }
  .said b { margin-top: 10px; font-size: 12.5px; color: var(--ink-3); }
  .pane.side, .pane.list { display: none; }
  .stage, .art { border-radius: 26px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
