/* cinesteward.me: the public pages. One file, the app's own font (Inter, in /fonts), and nothing from anywhere else,
   so a visit asks nothing of anyone but the CineSteward server. Dark like the app, with a light version. */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/inter-regular.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/inter-semibold.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700 900; font-display: swap; src: url("/fonts/inter-bold.woff2") format("woff2"); }

:root {
  color-scheme: dark;
  --bg: #000000;
  --bg-soft: #0b0b0d;
  --card: #1c1c1e;
  --card-high: #242428;
  --line: #2c2c31;
  --text: #f2f2f5;
  --muted: #a6a6b0;
  --faint: #6f6f7a;
  --accent: #f6e7a6;
  --accent-hover: #fff2c6;
  --accent-ink: #000000;
  --accent-glow: rgba(246, 231, 166, 0.14);
  --teal: #5ad1e6;
  --danger: #ff8a80;
  --danger-fill: #b3261e;
  --ok: #8fdc9f;
  --focus: #f6e7a6;
  --radius: 18px;
  --wrap: 1180px;
}
@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --bg: #f4f4f7;
    --bg-soft: #ececf1;
    --card: #ffffff;
    --card-high: #f7f7fa;
    --line: #dcdce3;
    --text: #141417;
    --muted: #55555f;
    --faint: #85858f;
    --accent: #6f5a1c;
    --accent-hover: #4f3f10;
    --accent-ink: #ffffff;
    --accent-glow: rgba(111, 90, 28, 0.10);
    --teal: #0b7285;
    --danger: #a3221a;
    --danger-fill: #a3221a;
    --ok: #1f6b33;
    --focus: #6f5a1c;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.65 Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: var(--accent); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; height: auto; display: block; }
strong { font-weight: 700; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip { position: absolute; left: -999px; top: 10px; background: var(--card); padding: 8px 14px; border-radius: 10px; z-index: 50; }
.skip:focus { left: 16px; }

/* ---------- the bar along the top: stays while you scroll */
header.bar {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.bar-inner { display: flex; align-items: center; gap: 24px; min-height: 68px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -0.4px; }
.brand img { width: 34px; height: 34px; }
.brand:hover { color: var(--text); }
nav.pages { display: flex; gap: 4px 22px; flex-wrap: wrap; margin-left: auto; font-size: 15px; font-weight: 600; }
nav.pages a { color: var(--muted); text-decoration: none; padding: 6px 0; }
nav.pages a:hover, nav.pages a[aria-current="page"] { color: var(--text); }
nav.pages a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--accent); }

/* ---------- buttons */
.button, button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 700; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer;
  background: var(--accent); color: var(--accent-ink); border: 0; border-radius: 999px; padding: 13px 24px;
  transition: background-color .15s ease, transform .15s ease;
}
.button:hover, button:hover { background: var(--accent-hover); color: var(--accent-ink); }
.button:active, button:active { transform: translateY(1px); }
.button.small { font-size: 14px; padding: 9px 16px; }
.button.big { font-size: 17px; padding: 16px 28px; }
.button.ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.button.ghost:hover { background: var(--card); color: var(--text); }
.button.quiet { background: var(--card-high); color: var(--text); }
.button.quiet:hover { background: var(--line); color: var(--text); }
button.danger { background: var(--danger-fill); color: #ffffff; }
button.danger:hover { background: #8e1d17; color: #ffffff; }
.button svg, button svg { width: 18px; height: 18px; flex: none; }

/* ---------- small type */
.eyebrow { color: var(--accent); font-size: 13px; font-weight: 800; letter-spacing: 2.6px; text-transform: uppercase; margin: 0 0 14px; }
.lead { color: var(--muted); font-size: 19px; line-height: 1.6; }

/* ---------- the front page's top: the cinema, the words, and the app under them */
.hero { position: relative; overflow: hidden; isolation: isolate; color: #f2f2f5; padding: 96px 0 0; margin-top: -69px; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: #000 url("/splash.jpg") 70% 30% / cover no-repeat;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.72) 38%, rgba(0,0,0,.18) 72%, rgba(0,0,0,.35) 100%),
    linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 55%, var(--bg) 100%);
}
.hero-copy { max-width: 640px; padding: 72px 0 64px; }
.hero h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.03; letter-spacing: -2px; margin: 0 0 22px; font-weight: 800; }
.hero h1 .gold { color: #f6e7a6; }
.hero .sub { color: #d6d6dd; font-size: 20px; line-height: 1.55; margin: 0 0 32px; max-width: 560px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .button { background: #f6e7a6; color: #000; }
.hero .button:hover { background: #fff2c6; color: #000; }
.hero .button.ghost { background: rgba(255,255,255,.06); color: #f2f2f5; box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.hero .button.ghost:hover { background: rgba(255,255,255,.12); }
.platforms { display: flex; gap: 8px 10px; flex-wrap: wrap; list-style: none; padding: 0; margin: 28px 0 0; }
.platforms li { font-size: 13px; font-weight: 700; color: #d6d6dd; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 999px; padding: 5px 12px; }
.platforms li.soon { color: #5ad1e6; border-color: rgba(90,209,230,.35); }

/* A screen of the app in a window */
.window {
  margin: 0; border-radius: 16px; overflow: hidden; background: #111;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 30px 80px -20px rgba(0,0,0,.85), 0 0 120px -40px var(--accent-glow);
}
.window .chrome { display: flex; align-items: center; gap: 7px; height: 30px; padding: 0 14px; background: #161618; border-bottom: 1px solid rgba(255,255,255,.06); }
.window .chrome i { width: 10px; height: 10px; border-radius: 50%; background: #3a3a40; }
.window img { width: 100%; }
.hero-shot { position: relative; transform: translateY(0); }

/* ---------- sections */
section.block { padding: 112px 0; }
section.block.tight { padding: 72px 0; }
.block-head { max-width: 720px; margin: 0 0 56px; }
.block-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.block-head h2 { font-size: clamp(32px, 4.2vw, 46px); line-height: 1.1; letter-spacing: -1.2px; margin: 0 0 16px; }
.block-head p { color: var(--muted); font-size: 19px; margin: 0; }

/* The tour: a screen beside a few words, one after another */
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; margin: 0 0 120px; }
.feature:last-child { margin-bottom: 0; }
.feature.flip .copy { order: 2; }
.feature h3 { font-size: clamp(26px, 3vw, 34px); line-height: 1.15; letter-spacing: -0.8px; margin: 0 0 14px; }
.feature .copy > p { color: var(--muted); font-size: 18px; margin: 0 0 20px; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding-left: 30px; margin: 0 0 10px; }
/* A tick drawn with borders: the page loads no pictures of its own for it (the content policy allows none inline) */
.ticks li::before { content: ""; position: absolute; left: 0; top: 5px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-glow); }
.ticks li::after {
  content: ""; position: absolute; left: 7.5px; top: 9px; width: 5px; height: 9px;
  border: solid var(--accent); border-width: 0 2.4px 2.4px 0; transform: rotate(45deg);
}

/* Everything else it does, in small cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.tile h3 { font-size: 18px; margin: 16px 0 6px; letter-spacing: -0.2px; }
.tile p { color: var(--muted); font-size: 15.5px; line-height: 1.55; margin: 0; }
.icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--accent-glow); color: var(--accent); }
.icon svg { width: 22px; height: 22px; }

/* The privacy promise */
.promise { background: linear-gradient(160deg, var(--card) 0%, var(--bg-soft) 100%); border: 1px solid var(--line); border-radius: 28px; padding: 56px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: start; }
.promise h2 { font-size: clamp(30px, 3.6vw, 40px); line-height: 1.12; letter-spacing: -1px; margin: 0 0 14px; }
.promise > div > p { color: var(--muted); font-size: 18px; margin: 0 0 24px; }
.promise .links { display: flex; gap: 10px; flex-wrap: wrap; }
.promise ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.promise li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.promise li strong { display: block; font-size: 17px; }
.promise li span { color: var(--muted); font-size: 15.5px; }

/* Downloads */
.downloads { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.download { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 6px; }
.download h3 { font-size: 22px; margin: 14px 0 0; letter-spacing: -0.3px; }
.download .for { color: var(--muted); font-size: 15px; margin: 0 0 14px; }
.download .button { align-self: flex-start; }
.download .also { font-size: 14.5px; margin: 10px 0 0; color: var(--muted); }
.download .fineprint { font-size: 13.5px; color: var(--faint); margin: auto 0 0; padding-top: 16px; }
.download.soon { background: transparent; border-style: dashed; }
.download.soon .icon { background: rgba(90,209,230,.12); color: var(--teal); }

/* ---------- pages of text */
main.inner-main { padding: 24px 0 96px; }
.page { max-width: 760px; }
.page h1 { font-size: clamp(36px, 5vw, 52px); line-height: 1.08; letter-spacing: -1.6px; margin: 40px 0 14px; }
.page .lead { margin: 0 0 30px; }
.page h2 { font-size: 26px; line-height: 1.25; margin: 56px 0 12px; letter-spacing: -0.5px; }
.page h3 { font-size: 19px; margin: 30px 0 8px; letter-spacing: -0.2px; }
.page p, .page li { margin: 0 0 12px; }
.page ul, .page ol { padding-left: 22px; margin: 0 0 18px; }
.page li::marker { color: var(--faint); }
.updated { color: var(--faint); font-size: 15px; }
.legal { display: grid; grid-template-columns: 240px minmax(0, 760px); gap: 64px; align-items: start; }
.toc { position: sticky; top: 96px; margin-top: 52px; font-size: 14.5px; }
.toc h2 { font-size: 12.5px; text-transform: uppercase; letter-spacing: 2px; color: var(--faint); margin: 0 0 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.toc a { display: block; color: var(--muted); text-decoration: none; padding: 5px 0 5px 16px; margin-left: -1px; border-left: 2px solid transparent; }
.toc a:hover { color: var(--text); border-left-color: var(--accent); }

table { width: 100%; border-collapse: collapse; margin: 8px 0 22px; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
th { color: var(--faint); font-weight: 700; font-size: 12.5px; text-transform: uppercase; letter-spacing: 1px; }
.table-wrap { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: 14px; margin: 8px 0 22px; }
.table-wrap table { margin: 0; }
.table-wrap tr:last-child td { border-bottom: 0; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin: 24px 0 8px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h2, .card h3 { margin: 12px 0 6px; font-size: 18px; }
.card p { color: var(--muted); font-size: 15.5px; margin: 0; }
.note { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 12px; padding: 16px 20px; margin: 18px 0 22px; }
.note.danger { border-left-color: var(--danger); }
.steps { counter-reset: step; list-style: none; padding: 0 !important; }
.steps li { counter-increment: step; position: relative; padding-left: 46px; margin: 0 0 16px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-glow); color: var(--accent); font-weight: 800; font-size: 14px; }

/* ---------- forms */
form.action { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 30px; margin: 22px 0 32px; }
form.action h2 { margin-top: 0; }
form.action > p { color: var(--muted); }
label { display: block; font-weight: 600; margin: 18px 0 7px; }
.hint { color: var(--muted); font-size: 14.5px; font-weight: 400; margin: -3px 0 7px; }
input[type="text"], input[type="password"] {
  width: 100%; max-width: 440px; font: inherit; color: var(--text); background: var(--bg);
  border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; transition: border-color .15s ease, box-shadow .15s ease;
}
input[type="text"]:focus, input[type="password"]:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px var(--accent-glow); }
fieldset { border: 0; padding: 0; margin: 22px 0 0; }
legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; margin: 10px 0; padding: 12px 14px; border-radius: 12px; background: var(--card-high); border: 1px solid transparent; cursor: pointer; }
.check:hover { border-color: var(--line); }
.check input { width: 20px; height: 20px; margin: 3px 0 0; flex: none; accent-color: var(--accent); }
.check strong { display: block; }
.check span { color: var(--muted); font-size: 15px; }
form.action button { margin-top: 24px; }
.result { border-radius: 16px; padding: 20px 24px; margin: 24px 0; background: var(--card); border: 1px solid var(--line); }
.result h2 { margin: 0 0 6px; font-size: 20px; }
.result p:last-child, .result ul:last-child { margin-bottom: 0; }
.result.ok { border-left: 4px solid var(--ok); }
.result.bad { border-left: 4px solid var(--danger); }

/* ---------- the foot of every page */
footer.foot { border-top: 1px solid var(--line); background: var(--bg-soft); margin-top: 40px; padding: 56px 0 32px; font-size: 15px; color: var(--muted); }
.foot-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 32px; }
.foot-grid p { margin: 14px 0 0; max-width: 320px; }
.foot-grid nav { display: flex; flex-direction: column; gap: 8px; }
.foot-grid h2 { font-size: 13px; text-transform: uppercase; letter-spacing: 1.6px; color: var(--faint); margin: 0 0 6px; }
.foot-grid nav a { color: var(--muted); text-decoration: none; }
.foot-grid nav a:hover { color: var(--text); }
.foot-small { display: flex; flex-wrap: wrap; gap: 8px 24px; border-top: 1px solid var(--line); margin-top: 40px; padding-top: 22px; font-size: 13.5px; color: var(--faint); }

/* ---------- smaller windows */
@media (max-width: 980px) {
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 28px; margin-bottom: 88px; }
  .feature.flip .copy { order: 0; }
  .promise { grid-template-columns: 1fr; padding: 36px; }
  .legal { grid-template-columns: 1fr; gap: 0; }
  .toc { position: static; margin-top: 32px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
  .toc ol { columns: 2 220px; column-gap: 24px; border-left: 0; }
  .toc a { padding-left: 0; border-left: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .bar-inner { min-height: 60px; gap: 10px 16px; padding-top: 10px; padding-bottom: 10px; }
  nav.pages { order: 3; margin-left: 0; width: 100%; gap: 4px 16px; font-size: 14.5px; }
  .bar-inner .button.small { margin-left: auto; }
  .hero { padding-top: 70px; }
  .hero-copy { padding: 56px 0 40px; }
  .hero .sub { font-size: 18px; }
  section.block { padding: 80px 0; }
  .promise { padding: 26px; border-radius: 22px; }
  form.action { padding: 22px; }
  .foot-grid { grid-template-columns: 1fr; }
  .window .chrome { height: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
@media print {
  header.bar, footer.foot, .hero, form.action, .toc { display: none; }
  body { background: #fff; color: #000; }
  a { color: #000; }
  .legal { display: block; }
}
