/* The /start page: three parts of Bobbles, each with a film or steps. External file (not inline)
   because the front door's CSP only allows hashed inline styles; this page has no inline style at all.
   Same two brand colours, tokens and lettering as the welcome page. Films play in the
   shared on-page player (/film.js, /film.css). */
:root {
  --bg: #fffaf0; --surface: #ffffff; --ink: #1b2233; --ink-fixed: #1b2233; --ink-soft: #4d5567; --on-ink: #ffffff;
  --line: #e7ddc7; --focus: #2e64a6; --sun: #ffd84d; --sun-tint: #fff4c7; --green: #307361; --green-tint: #e4f3e6;
  --shadow-pop: 0 20px 44px -20px rgba(27, 34, 51, .4);
  --r-pill: 999px;
  --font: "Atkinson Hyperlegible Next", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #171a21; --surface: #1f242e; --ink: #eeebe4; --ink-soft: #b3b9c6; --on-ink: #171a21;
    --line: #353c4a; --focus: #86aee0; --sun-tint: #3a3216; --green: #63c07e; --green-tint: #203e32;
    --shadow-pop: 0 20px 44px -20px rgba(0,0,0,.7);
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 20px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
h1, h2 { font-weight: 700; line-height: 1.12; text-wrap: balance; margin: 0; }
p { margin: 0; }
a { color: inherit; }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 24px; }

header.top { background: var(--sun); border-bottom: 1px solid rgba(27,34,51,.12); }
.top .wrap { display: flex; align-items: center; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.25rem; text-decoration: none; color: var(--ink-fixed); }
/* The logo and the word as one picture (lockup A, Iain 19 Nov 2026), the bobbles 34px high as before. */
.brand img { display: block; height: 34px; width: auto; }

.intro { background: var(--sun); padding: 8px 0 52px; }
.intro h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); color: var(--ink-fixed); margin-top: 28px; }
.intro p { font-size: 1.25rem; margin-top: 16px; color: var(--ink-fixed); max-width: 36rem; }

.part { padding: clamp(40px, 7vw, 72px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 8px; }
.part:nth-of-type(even) { background: var(--surface); }
.grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: center; }
.pill { display: inline-block; background: var(--green-tint); color: var(--green); font-weight: 700; font-size: .9rem; letter-spacing: .04em; padding: 6px 16px; border-radius: var(--r-pill); }
.part h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-top: 16px; }
.part p { margin-top: 14px; color: var(--ink-soft); font-size: 1.15rem; max-width: 32rem; }
.steps { margin: 18px 0 0; padding-left: 1.3em; color: var(--ink-soft); font-size: 1.15rem; max-width: 32rem; }
.steps li { margin-top: 8px; }
.steps strong { color: var(--ink); }

.poster { position: relative; display: block; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-pop); border: 8px solid #fff; width: 380px; max-width: 100%; }
.poster img { display: block; width: 100%; height: auto; }
.poster .play { position: absolute; right: 14px; bottom: 14px; display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.95); font-weight: 700; padding: 8px 18px 8px 8px; border-radius: var(--r-pill); }
.poster .play i { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-style: normal; padding-left: 3px; color: #fff; }
.poster-wide img { aspect-ratio: 16 / 9; }
.poster-tall { width: 260px; }
.poster-tall img { aspect-ratio: 9 / 16; }

.grid-shot { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: start; }
.shot { margin: 0; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-pop); border: 1px solid var(--line); background: var(--surface); }
.shot img { display: block; width: 100%; height: auto; }

.btn { display: inline-flex; align-items: center; justify-content: center; font: inherit; font-weight: 700; font-size: 1.1rem; border-radius: var(--r-pill); padding: .9em 1.7em; min-height: 56px; text-decoration: none; border: 2px solid transparent; margin-top: 24px; }
.btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.btn-primary { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.btnrow { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-soon { background: transparent; color: var(--ink-soft); border: 2px dashed var(--ink-soft); cursor: default; }
.note { font-size: 1rem; }

footer.site { padding: 36px 0 56px; color: var(--ink-soft); font-size: .95rem; }
footer.site a { margin-right: 18px; text-decoration: none; }

@media (max-width: 760px) {
  body { font-size: 19px; }
  .wrap { padding: 0 20px; }
  .grid, .grid-shot { grid-template-columns: 1fr; gap: 28px; }
  .poster, .poster-tall { width: min(340px, 90%); margin: 0 auto; }
  .btn { width: 100%; }
}
