/* Bookit Boy marketing site. Palette from /bookit-boy-art/README.md. */
:root {
  --blue: #0b5fff;
  --navy: #1e2f63;
  --navy-dark: #15224a;
  --cyber: #2fd3ff;
  --hat: #ffc21a;
  --ink: #1a1a2e;
  --muted: #6b7280;
  --bg: #f7f7fc;
  --card: #ffffff;
  --border: #e3e6f0;
  --paid: #1db954;
  --radius: 16px;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Roboto, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); }
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

/* Header */
.site-header {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 10;
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 1.15rem; }
.brand img { width: 40px; height: 40px; }
.nav { display: flex; gap: 18px; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; min-height: 44px; display: inline-flex; align-items: center; }
.nav a:hover { color: var(--blue); }
.nav a.btn-primary, .nav a.btn-primary:hover { color: #fff; }
@media (max-width: 640px) { .nav .hide-sm { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 22px; border-radius: 999px;
  font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: transform .08s ease, background .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-dark); }
.btn-secondary { background: var(--card); color: var(--navy); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero */
.hero { padding: 48px 0 32px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px; align-items: center; }
.hero .lede { font-size: 1.2rem; color: var(--muted); max-width: 34rem; }
.hero .art { max-width: 420px; margin: 0 auto; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.hero .fine { margin-top: 14px; }
@media (max-width: 800px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero .art { max-width: 260px; order: -1; }
}

/* Sections */
section { padding: 48px 0; }
section.alt { background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 40rem; margin-bottom: 28px; }

/* Feature cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px;
}
.alt .card { background: var(--bg); }
.card h3 { margin-top: 0; }
.card p { margin-bottom: 0; color: var(--muted); }
.card .icon {
  width: 44px; height: 44px; border-radius: 12px; background: #e8f0ff; color: var(--blue);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px; font-size: 1.4rem;
}

/* BB Task split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.split .copy ul { padding-left: 1.2em; color: var(--muted); }
.split .copy li { margin-bottom: .5em; }
.split .art { max-width: 320px; margin: 0 auto; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } .split .art { max-width: 220px; } }

/* Screens */
.screens { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.screen { text-align: center; }
.screen img {
  border-radius: 24px; border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(30, 47, 99, .12); margin: 0 auto 10px; background: var(--bg);
}
.screen figcaption { color: var(--muted); font-size: .95rem; }
.screen-wide { margin-top: 24px; text-align: center; }
.screen-wide img { border-radius: 16px; border: 1px solid var(--border); box-shadow: 0 10px 30px rgba(30, 47, 99, .12); margin: 0 auto 10px; }

/* Promises */
.promises { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.promise { display: flex; gap: 14px; align-items: flex-start; }
.promise .check { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--paid); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; margin-top: 2px; }
.promise p { margin: 0; color: var(--muted); }
.promise strong { color: var(--ink); display: block; }

/* CTA band */
.cta { background: var(--navy); color: #fff; }
.cta .wrap { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.cta h2 { color: #fff; }
.cta p { color: #c9d2ee; margin-bottom: 0; }
.cta .btn-primary { background: var(--hat); color: var(--navy-dark); }
.cta .btn-primary:hover { background: #ffd24d; }
.cta .art { width: 140px; }
@media (max-width: 800px) { .cta .wrap { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { padding: 32px 0 40px; color: var(--muted); font-size: .9rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.site-footer a { color: var(--muted); }

/* Document pages (privacy, terms, support) */
.doc { padding: 40px 0 64px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.doc h2 { font-size: 1.35rem; margin-top: 2em; }
.doc h3 { margin-top: 1.5em; }
.doc ul, .doc ol { padding-left: 1.3em; }
.doc li { margin-bottom: .4em; }
.doc .updated { color: var(--muted); margin-bottom: 2em; }
.doc table { border-collapse: collapse; width: 100%; margin: 1em 0 1.5em; font-size: .95rem; }
.doc th, .doc td { text-align: left; border-bottom: 1px solid var(--border); padding: 10px 8px; vertical-align: top; }
.doc th { color: var(--muted); font-weight: 600; }
.callout { background: var(--card); border: 1px solid var(--border); border-left: 4px solid var(--blue); border-radius: 12px; padding: 16px 18px; margin: 1.5em 0; }
.callout p:last-child { margin-bottom: 0; }
.steps { counter-reset: step; list-style: none; padding-left: 0; }
.steps li { position: relative; padding-left: 44px; margin-bottom: 14px; }
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%;
  background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .9rem;
}
