/* Home, after Minimal's layout: one narrow column, the logo and sign in at its two ends, then a
   two-tone heading (the claim dark, the rest of the sentence grey) and the way in. Small type,
   like the sign-in page. */
.home { max-width: 620px; min-height: 100vh; min-height: 100dvh; margin: 0 auto; padding: 0 24px; display: flex; flex-direction: column; }

/* Sticky: the logo and sign in stay as you scroll. The page colour behind them runs the full width
   (so the legal pages' hanging numbers pass under it too); the 16px below is taken back from the hero. */
.home__nav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; padding: 32px 0 16px;
  background: var(--bg); box-shadow: 0 0 0 100vmax var(--bg); clip-path: inset(0 -100vmax); }
.home__brand { font-size: 15px; font-weight: 600; letter-spacing: -0.03em; text-decoration: none; }
.home__signin { font-size: 13px; color: var(--text-3); text-decoration: none; }
.home__signin:hover { color: var(--text); text-decoration: underline dotted; text-underline-offset: 4px; }

.home__hero { padding-top: 104px; }
.home__title { margin: 0; font-size: 26px; line-height: 1.3; font-weight: 500; letter-spacing: -0.025em; color: var(--text); }
.home__title-more { display: block; font-size: 22px; line-height: 1.4; letter-spacing: -0.02em; color: var(--text-4); }
.home__try { margin-top: 16px; color: var(--text); }

/* — footer: quiet links at the foot of the column — */
.home__footer { display: flex; gap: 24px; margin-top: auto; padding: 96px 0 32px; }
.home__footer a { font-size: 12px; color: var(--text-4); text-decoration: none; }
.home__footer a:hover { color: var(--text); text-decoration: underline dotted; text-underline-offset: 4px; }

/* — legal pages: the home page's heading, then numbered sections. The number hangs in the margin
     (44px + 14px, a todo row's position column and gap) so headings and text keep the logo's left
     edge. One rhythm: 22px lines, 8px within a section, 40px between, 64px around the sections. — */
.legal { padding-top: 104px; }
.legal__sections { margin-top: 64px; counter-reset: legal; }
.legal__section { counter-increment: legal; }
.legal__section + .legal__section { margin-top: 40px; }
.legal__section h2 { margin: 0; font-size: 13.5px; line-height: 22px; font-weight: 600; letter-spacing: -0.01em; color: var(--text); }
/* The number sits on the heading's own line (so it shares its baseline exactly) and is pulled into the margin. */
.legal__section h2::before { content: counter(legal, decimal-leading-zero); display: inline-block; width: 58px; margin-left: -58px; vertical-align: baseline;
  font-family: var(--font-mono); font-size: 10.5px; line-height: 1; font-weight: 400; letter-spacing: 0; color: var(--text-4); }
.legal__body { margin-top: 8px; }
.legal__body p { font-size: 13.5px; line-height: 22px; color: var(--text-3); }
.legal__body p + p { margin-top: 8px; }
.legal__body b { font-weight: 500; color: var(--text); }
.legal__body a { color: var(--text); text-decoration: underline dotted; text-underline-offset: 3px; }
.legal__updated { margin-top: 64px; }

@media (max-width: 760px) {
  .home__nav { padding-top: 24px; }
  .legal { padding-top: 56px; }
  .legal__section { padding-left: 32px; }
  .legal__section h2::before { width: 32px; margin-left: -32px; }
  .home__hero { padding-top: 56px; }
  .home__title { font-size: 22px; }
  .home__title-more { font-size: 19px; }
}

/* — the film: the column's width, as the heading and nav; Video.js draws the player — */
.film { margin-top: 56px; border-radius: 12px; overflow: hidden;
  box-shadow: 0 20px 50px rgba(38, 37, 30, 0.12);
  aspect-ratio: 16 / 9; background: #26251e url("https://pz-miller.b-cdn.net/miller/settingthumbnail%20(1).png") center / cover; }   /* its place and its picture, before the player loads */
.film .video-js { width: 100%; border-radius: 12px; }
.film .vjs-poster { background-size: cover; }
.film .vjs-poster img { object-fit: cover; }
.film .vjs-big-play-button { top: 50% !important; left: 50% !important; transform: translate(-50%, -50%) !important; margin: 0 !important;
  width: 76px; height: 76px; border-radius: 50%; border: none; background: rgba(38, 37, 30, 0.88); font-size: 2rem; line-height: 76px; }
.film:hover .vjs-big-play-button, .film .vjs-big-play-button:focus { background: var(--text); }
@media (max-width: 760px) { .film { margin-top: 40px; border-radius: 10px; } .film .video-js { border-radius: 10px; } }
