/* The website's existing light-scheme roles from apps/website/src/colors.css. */
:root {
  color-scheme: light;
  --site-base: #f5f7fa;
  --site-ink: #0b1020;
  --site-subtitle: #172334;
  --site-muted: #57606c;
  --site-line: rgb(23 35 52 / 0.12);
  --site-focus: #1d4ed8;
  font-family: Inter, system-ui, sans-serif;
  color: var(--site-ink);
  background: var(--site-base);
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
a:focus-visible { outline: 2px solid var(--site-focus); outline-offset: 5px; }
.site-header, main, .site-footer { width: min(1320px, 100% - 64px); margin-inline: auto; }
.site-header { display: flex; justify-content: space-between; align-items: center; padding-block: 28px; border-bottom: 1px solid var(--site-line); font-size: 14px; }
.wordmark { font-family: Poppins, system-ui, sans-serif; font-size: 30px; font-weight: 700; letter-spacing: -0.06em; }
.intro { padding-block: 76px 56px; }
.eyebrow { margin: 0 0 16px; font-size: 13px; font-weight: 600; color: var(--site-muted); }
h1, h2 { font-family: Poppins, system-ui, sans-serif; font-weight: 600; letter-spacing: -0.04em; }
h1 { margin: 0; font-size: clamp(34px, 4.5vw, 60px); line-height: 1.12; }
.lead { margin: 24px 0 0; color: var(--site-muted); font-size: 18px; line-height: 1.65; }
.films { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.film-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
h2 { margin: 0; font-size: 25px; }
.version, .details, .download-detail { font-size: 12px; color: var(--site-muted); white-space: nowrap; }
video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: contain; border: 1px solid var(--site-line); border-radius: var(--accuras-map-control-radius, 20px); background: var(--site-ink); }
.description { margin: 20px 0; font-size: 15px; line-height: 1.6; color: var(--site-subtitle); }
.film-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; border-top: 1px solid var(--site-line); }
.download { min-height: var(--accuras-action-size, 44px); display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; }
.download-detail { font-weight: 400; }
.site-footer { display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid var(--site-line); margin-top: 88px; padding-block: 28px; color: var(--site-muted); font-size: 12px; }
.site-footer nav { display: flex; gap: 24px; }

@media (max-width: 1000px) {
  .film-footer { align-items: flex-start; flex-direction: column; gap: 4px; }
}

@media (max-width: 720px) {
  .site-header, main, .site-footer { width: calc(100% - 40px); }
  .site-header { padding-block: 20px; }
  .intro { padding-block: 48px 40px; }
  .lead { font-size: 16px; }
  .films { grid-template-columns: 1fr; gap: 48px; }
  h2 { font-size: 23px; }
  .film-footer { flex-direction: row; align-items: center; }
  .download { flex-wrap: wrap; gap: 6px; }
  .download-detail { display: none; }
  .site-footer { margin-top: 56px; flex-wrap: wrap; }
}
