/*
  Christian Coloring Club, launch site (2026-10-22).
  Layout: white page, black type and lines, the color comes from the pages themselves.
  Display: Bricolage Grotesque (chunky, slightly hand-cut, sits with the thick black line of the pages).
  Text: Hanken Grotesk (calm, open, plain round figures; replaced Atkinson Hyperlegible on 2026-10-22, whose slashed
  zero Sid called "low quality tech design").
  One color field per screen: this week's page color behind the live page. One solid button per screen.
  A single light look by choice: paper and ink.
*/
:root {
  --paper: #ffffff;
  --ink: #111214;
  --muted: #474b52;
  --line: #d9dcdf;
  --week: #d3e9cb;      /* this week's page color; change weekly */
  --focus: #1f5fd1;
  --display: "Bricolage Grotesque", "Hanken Grotesk", system-ui, sans-serif;
  --ui: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--ui); overflow-x: clip; padding-bottom: 88px; }
a, button { font: inherit; color: inherit; }
a { text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
img { max-width: 100%; height: auto; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; letter-spacing: -.02em; }
h1 { font-weight: 800; font-size: clamp(2.4rem, 8vw, 5rem); line-height: .96; letter-spacing: -.035em; }
h2 { font-weight: 800; font-size: clamp(1.7rem, 4.6vw, 2.6rem); line-height: 1.02; letter-spacing: -.03em; }
h3 { font-weight: 700; font-size: 1.35rem; line-height: 1.15; }
p { margin: 0; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 36ch; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; background: var(--paper); padding: 8px 12px; z-index: 30; }

/* header */
.mast { display: flex; align-items: center; gap: 8px; min-height: 64px; flex-wrap: wrap; }
.mark { font: 800 1.2rem/1 var(--display); letter-spacing: -.02em; margin-right: auto; text-decoration: none; padding-block: 12px; }
.nav { display: flex; gap: 2px; flex-wrap: wrap; order: 3; width: 100%; margin: 0 -10px 6px; }
.nav a { text-decoration: none; font-weight: 700; padding: 0 10px; min-height: 44px; display: inline-flex; align-items: center; }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 3px; }
.mast .join { text-decoration: none; font-weight: 700; padding: 0 18px; min-height: 44px; display: inline-flex; align-items: center; border: 2px solid var(--ink); border-radius: 999px; }
@media (min-width: 820px) { .nav { order: 0; width: auto; margin: 0 8px 0 0; } }

/* buttons */
.btn { min-height: 48px; padding: 0 20px; border-radius: 999px; border: 2px solid var(--ink); background: var(--paper); font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.btn.solid { background: var(--ink); color: var(--paper); }
.acts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.small-link { font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; }

/* home hero */
.hero { display: grid; gap: 22px; padding-block: 8px 32px; grid-template-areas: "words" "studio" "quick"; }
.hero .words { grid-area: words; } .hero .studio { grid-area: studio; } .hero .quick { grid-area: quick; }
.hero .words { display: grid; gap: 18px; align-content: start; }
.studio { background: var(--week); border-radius: 6px; padding: 16px; display: grid; gap: 14px; }
.sheet { background: var(--paper); border-radius: 3px; padding: 14px 14px 10px; box-shadow: 0 1px 1px rgba(0,0,0,.12), 0 18px 30px -18px rgba(0,0,0,.45); }
.sheet canvas { width: 100%; height: auto; display: block; cursor: crosshair; touch-action: manipulation; }
.sheet .cap { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; padding-top: 6px; font-size: .95rem; }
.sheet .cap b { font-family: var(--display); font-weight: 700; font-size: 1.05rem; }
.paints { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.paints button { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--ink); cursor: pointer; padding: 0; }
.paints button[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--week), 0 0 0 5px var(--ink); }
.verse { font-size: 1.02rem; }
.pick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.pick button { padding: 0; border: 2px solid var(--line); border-radius: 4px; background: #fff; cursor: pointer; min-height: 44px; }
.pick button[aria-pressed="true"] { border-color: var(--ink); box-shadow: 0 0 0 2px var(--ink); }
.pick img { display: block; width: 100%; aspect-ratio: 1; }
.verse cite { font-style: normal; font-weight: 700; white-space: nowrap; }
.quick { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 560px; }
.quick a { display: grid; gap: 6px; text-decoration: none; font-size: .95rem; line-height: 1.25; color: var(--muted); }
.quick img { width: 100%; aspect-ratio: 1; object-fit: cover; border: 2px solid var(--ink); border-radius: 3px; background: #fff; }
.quick b { display: block; color: var(--ink); font-family: var(--display); font-size: 1.1rem; }
@media (min-width: 560px) { .quick { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 960px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "words studio" "quick studio"; gap: 22px 44px; padding-top: 28px; align-items: start; }
  .studio { width: min(100%, calc(100svh - 370px)); min-width: min(100%, 440px); justify-self: end; }
}

/* sections */
.band { border-top: 2px solid var(--ink); padding-block: 28px; display: grid; gap: 22px; }
.two { display: grid; gap: 28px; }
@media (min-width: 820px) { .two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.path { display: grid; gap: 10px; align-content: start; }
.path ol { margin: 0; padding-left: 1.3em; display: grid; gap: 6px; }
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.card { display: grid; gap: 10px; align-content: start; }
.card img { width: 100%; aspect-ratio: 1; object-fit: contain; border: 1px solid var(--line); border-radius: 3px; background: #fff; }
.card .price { font-weight: 700; }
.note { font-size: .95rem; color: var(--muted); }
.prices { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); max-width: 640px; }
.plan { border: 2px solid var(--ink); border-radius: 6px; padding: 18px; display: grid; gap: 6px; }
.plan.best { background: var(--week); }
.plan .amt { font: 800 2.2rem/1 var(--display); letter-spacing: -.03em; }
.list { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.faq { display: grid; gap: 4px; }
.faq details { border-top: 1px solid var(--line); padding-block: 10px; }
.faq summary { font-weight: 700; cursor: pointer; min-height: 32px; }
.faq details p { margin-top: 8px; }
.page-head { display: grid; gap: 14px; padding-block: 12px 28px; }

/* footer */
.foot { border-top: 2px solid var(--ink); padding-block: 22px 28px; display: grid; gap: 10px; font-size: .95rem; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.foot a { min-height: 44px; display: inline-flex; align-items: center; }

/* BibleDo bar: stays put while you browse, color or print */
.player { position: fixed; left: 0; right: 0; bottom: 0; background: var(--ink); color: var(--paper); z-index: 10; padding-bottom: env(safe-area-inset-bottom, 0px); }
.player .wrap { display: flex; align-items: center; gap: 12px; min-height: 72px; }
.player .play { width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--paper); color: var(--ink); cursor: pointer; flex: none; display: grid; place-items: center; text-decoration: none; }
.player .meta { min-width: 0; flex: 1; line-height: 1.25; }
.player .meta b { font-family: var(--display); font-weight: 700; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player .meta span { font-size: .9rem; color: #c9ccd1; }
.toast { position: fixed; left: 50%; bottom: 86px; transform: translateX(-50%); background: var(--paper); color: var(--ink); border: 2px solid var(--ink); border-radius: 6px; padding: 10px 14px; max-width: min(92vw, 520px); font-size: .95rem; z-index: 11; }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
.print-only { display: none; }
@media print { .player, .mast, .foot, .toast { display: none !important; }
  body.printing-mine > *:not(#printmine-img) { display: none !important; }
  body.printing-mine #printmine-img { display: block !important; width: 100%; max-width: 7.5in; margin: 0 auto; } }
