/* framecinema.com: one stylesheet, system fonts, no scripts. */
:root {
  --bg: #0b0d13;
  --bg-2: #121521;
  --line: #262a3a;
  --text: #e9e8f2;
  --muted: #a3a6b8;
  --blue: #58a6ff;
  --blue-2: #2f6feb;
  --violet: #9e6bff;
  --max: 68rem;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 1.0625rem/1.6 var(--font);
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 0.15em; }
a:hover { color: #8cc2ff; }
a:focus-visible, .button:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
h1, h2, h3 { line-height: 1.2; font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.1rem); margin: 0 0 1rem; }
h3 { font-size: 1.15rem; margin: 1.6rem 0 0.4rem; }
code { font-family: var(--mono); font-size: 0.9em; background: var(--bg-2); padding: 0.1em 0.35em; border-radius: 4px; overflow-wrap: anywhere; }
pre { background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px; padding: 0.8rem 1rem; overflow-x: auto; }
pre code { background: none; padding: 0; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1rem; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--bg-2); padding: 0.5rem 1rem; z-index: 2; }

/* Header */
.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4rem; flex-wrap: wrap; }
.top .brand img { height: 1.9rem; width: auto; }
.top nav { display: flex; gap: 1.2rem; flex-wrap: wrap; font-size: 0.95rem; }
.top nav a { color: var(--muted); text-decoration: none; }
.top nav a:hover, .top nav a[aria-current] { color: var(--text); }

/* Hero */
.hero { padding: 4rem 0 2.5rem; text-align: center; }
.hero h1 { font-size: clamp(2rem, 1.4rem + 3vw, 3.4rem); margin: 0 auto 1rem; max-width: 22ch; }
.hero p.lede { font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem); color: var(--muted); max-width: 40rem; margin: 0 auto 2rem; }
.actions { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }
.button {
  display: inline-block; padding: 0.8rem 1.4rem; border-radius: 999px; font-weight: 600;
  text-decoration: none; border: 1px solid var(--line); color: var(--text);
}
.button.primary { background: linear-gradient(135deg, var(--blue), var(--blue-2)); border-color: transparent; color: #fff; }
.button.primary:hover { color: #fff; filter: brightness(1.08); }
.button:hover { color: var(--text); border-color: var(--muted); }
.note { color: var(--muted); font-size: 0.9rem; margin-top: 1rem; }

/* Trailer */
.trailer { margin: 1rem auto 0; max-width: 60rem; }
.trailer video { width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 12px; border: 1px solid var(--line); }

/* Sections */
section { padding: 3.5rem 0; }
section + section { border-top: 1px solid var(--line); }
.intro { max-width: 44rem; color: var(--muted); margin: 0 0 2rem; }

.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 1.2rem; margin: 0; }
.shots figure { margin: 0; }
.shots img { border-radius: 10px; border: 1px solid var(--line); aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.shots figcaption { color: var(--muted); font-size: 0.9rem; margin-top: 0.5rem; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); gap: 1.4rem 2rem; }
.features h3 { margin-top: 0; }
.features p, .features ul { margin: 0; color: var(--muted); }
.features ul { padding-left: 1.1rem; }
.features li + li { margin-top: 0.25rem; }

.privacy-box { background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 1.4rem 1.6rem; max-width: 46rem; }
.privacy-box p { margin: 0 0 0.8rem; }
.privacy-box p:last-child { margin: 0; }

.links { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1rem; padding: 0; list-style: none; margin: 0; }
.links li { background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 1.1rem 1.3rem; }
.links a { font-weight: 600; }
.links p { margin: 0.3rem 0 0; color: var(--muted); font-size: 0.95rem; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 2rem 0 3rem; color: var(--muted); font-size: 0.9rem; }
footer p { margin: 0 0 0.6rem; }

/* Document pages (guide, privacy, licences) */
.doc { padding: 2.5rem 0 3rem; }
.doc .wrap { max-width: 46rem; }
.doc h1 { font-size: clamp(1.8rem, 1.4rem + 2vw, 2.6rem); margin: 0 0 0.5rem; }
.doc h2 { margin-top: 2.6rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.doc .meta { color: var(--muted); margin: 0 0 2rem; }
.doc li + li { margin-top: 0.3rem; }
.doc figure { margin: 1.4rem 0; }
.doc figure img { border-radius: 10px; border: 1px solid var(--line); }
.doc figcaption { color: var(--muted); font-size: 0.9rem; margin-top: 0.4rem; }
.toc { background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.4rem; }
.toc ol { margin: 0.4rem 0 0; padding-left: 1.3rem; columns: 2 14rem; }
.tw { overflow-x: auto; margin: 1rem 0; }
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
th, td { text-align: left; vertical-align: top; padding: 0.5rem 0.7rem; border-bottom: 1px solid var(--line); }
th { color: var(--text); font-weight: 600; }
td { color: var(--muted); }
