/* The Reelhouse website: the web app's colours (web/css/app.css), dark only, as the app is. */
:root {
  color-scheme: dark;
  --bg: #111315;
  --bg-elev: #191c20;
  --bg-elev-2: #22262b;
  --border: #2a2f35;
  --text: #eceff3;
  --text-dim: #a2abb5;
  --text-faint: #6f7882;
  --accent: #e5a00d;
  --accent-hover: #f2b531;
  --accent-text: #1a1300;
  --accent-soft: rgba(229, 160, 13, 0.12);
  --radius: 14px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Code", Consolas, monospace;
  --wrap: 1160px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); text-decoration: underline; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
code { font-family: var(--mono); font-size: 0.92em; background: var(--bg-elev-2); border: 1px solid var(--border); border-radius: 6px; padding: 1px 6px; white-space: nowrap; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
p, li { margin: 0; text-wrap: pretty; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-text); padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font-weight: 600; font-size: 16px; color: var(--text);
  border: 1px solid var(--border); background: var(--bg-elev);
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.btn:hover { text-decoration: none; color: var(--text); border-color: #3a4048; background: var(--bg-elev-2); }
.btn-accent, .btn-accent:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.btn-accent:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-small { min-height: 38px; padding: 0 16px; font-size: 15px; }
.btn svg { width: 20px; height: 20px; flex: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 5;
  background: rgba(17, 19, 21, 0.82);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(42, 47, 53, 0.7);
}
.top-row { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 20px; letter-spacing: -0.01em; }
.brand:hover { color: var(--text); text-decoration: none; }
.brand img { width: 32px; height: 32px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { color: var(--text-dim); padding: 8px 12px; border-radius: 8px; font-size: 15px; }
.nav a:not(.btn):hover { color: var(--text); background: var(--bg-elev); text-decoration: none; }
.nav .btn { margin-left: 8px; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 88px 0 40px; text-align: center; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: -120px 0 auto; height: 760px; z-index: -1;
  background: radial-gradient(ellipse 60% 55% at 50% 30%, rgba(229, 160, 13, 0.16), transparent 70%);
}
.eyebrow { display: inline-block; color: var(--accent); background: var(--accent-soft); border: 1px solid rgba(229, 160, 13, 0.3); border-radius: 999px; padding: 4px 14px; font-size: 14px; font-weight: 600; margin-bottom: 24px; }
.hero h1 { font-size: clamp(36px, 6vw, 64px); font-weight: 800; max-width: 15em; margin: 0 auto; }
.hero h1 span { color: var(--accent); }
.lead { color: var(--text-dim); font-size: clamp(17px, 2.2vw, 20px); max-width: 40em; margin: 24px auto 0; }
.hero .actions { justify-content: center; margin-top: 36px; }
.hero-note { color: var(--text-faint); font-size: 14px; margin-top: 16px; }

.showcase { position: relative; margin: 64px auto 0; max-width: 1040px; padding-right: 7%; }
.window {
  border-radius: 12px; overflow: hidden; background: var(--bg-elev);
  border: 1px solid var(--border);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.02);
}
.window-bar { display: flex; gap: 7px; padding: 12px 14px; background: var(--bg-elev-2); border-bottom: 1px solid var(--border); }
.window-bar i { width: 11px; height: 11px; border-radius: 50%; background: #3a4048; }
.phone {
  position: absolute; right: 0; bottom: -40px; width: 24%; min-width: 120px;
  border-radius: 28px; padding: 8px; background: #0b0c0e;
  border: 1px solid #343a42;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.65);
}
.phone img { border-radius: 21px; }
.shots-note { color: var(--text-faint); font-size: 13px; margin-top: 64px; text-align: center; }

/* ---------- sections ---------- */
.section { padding: 96px 0 0; }
.section-head { text-align: center; max-width: 44em; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
.section-head p { color: var(--text-dim); margin-top: 14px; font-size: 18px; }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.card h3 { font-size: 18px; margin: 16px 0 8px; letter-spacing: -0.01em; }
.card p { color: var(--text-dim); font-size: 15.5px; }
.icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); }
.icon svg { width: 24px; height: 24px; }

.split { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: center; }
.split h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; }
.split p { color: var(--text-dim); margin-top: 16px; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; color: var(--text); font-size: 16px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e5a00d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.apps { grid-template-columns: repeat(3, 1fr); }
.apps .card { display: flex; flex-direction: column; }
.apps .card p { flex: 1; }
.apps .actions { margin-top: 20px; }
.soon { color: var(--text-faint); font-size: 14px; margin-top: 12px; }

/* ---------- demo ---------- */
.demo {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center;
  border-radius: 20px; padding: 48px;
  background: linear-gradient(135deg, rgba(229, 160, 13, 0.14), rgba(229, 160, 13, 0.03) 60%), var(--bg-elev);
  border: 1px solid rgba(229, 160, 13, 0.35);
}
.demo h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; }
.demo p { color: var(--text-dim); margin-top: 14px; }
.demo .actions { margin-top: 28px; }
.login { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 8px 24px; margin: 0; }
.login div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.login div:last-child { border-bottom: 0; }
.login dt { color: var(--text-dim); }
.login dd { margin: 0; font-family: var(--mono); font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.small { font-size: 14.5px; color: var(--text-faint); margin-top: 16px; }

/* ---------- install ---------- */
.steps { list-style: none; padding: 0; margin: 0 auto; max-width: 760px; counter-reset: step; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.steps li { counter-increment: step; position: relative; padding: 22px 24px 22px 76px; background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text-dim); }
.steps li::before {
  content: counter(step); position: absolute; left: 22px; top: 20px;
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: var(--accent-text); font-weight: 800;
}
.steps strong { color: var(--text); }
pre { margin: 12px 0 0; padding: 14px 16px; background: var(--bg); border: 1px solid var(--border); border-radius: 10px; overflow-x: auto; }
pre code { background: none; border: 0; padding: 0; color: var(--text); font-size: 15px; white-space: pre-wrap; overflow-wrap: anywhere; }
.center { text-align: center; margin-top: 32px; }

/* ---------- footer ---------- */
.foot { margin-top: 112px; border-top: 1px solid var(--border); padding: 32px 0 48px; color: var(--text-faint); font-size: 15px; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; }
.foot a { color: var(--text-dim); }
.foot a:hover { color: var(--text); }

/* ---------- privacy page ---------- */
.prose { max-width: 760px; padding-top: 64px; }
.prose h1 { font-size: clamp(30px, 5vw, 44px); font-weight: 800; margin-bottom: 24px; }
.prose h2 { font-size: 22px; margin: 40px 0 12px; }
.prose p, .prose li { color: var(--text-dim); }
.prose p + p { margin-top: 12px; }
.prose ul, .prose ol { padding-left: 22px; margin: 12px 0 0; display: grid; gap: 8px; }

/* ---------- smaller screens ---------- */
@media (max-width: 980px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .split, .demo { grid-template-columns: 1fr; }
  .demo { padding: 32px 24px; }
}
@media (max-width: 760px) {
  :root { --gutter: 16px; }
  .nav a:not(.btn) { display: none; }
  .hero { padding-top: 56px; }
  .apps { grid-template-columns: 1fr; }
  .section { padding-top: 72px; }
  .phone { width: 30%; bottom: -28px; border-radius: 20px; padding: 5px; }
  .phone img { border-radius: 15px; }
}
@media (max-width: 520px) {
  .grid { grid-template-columns: 1fr; }
  .steps li { padding: 20px 18px 20px 64px; }
  .steps li::before { left: 16px; }
  .hero .actions .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
