/* Night Window site. Colors match the app theme (src/theme/index.ts). */
:root {
  --bg: #0a0a0f;
  --card: #12121a;
  --card-raised: #1a1a26;
  --border: #23233a;
  --accent: #7c6ef2;
  --accent-dim: #3d3870;
  --text: #f0f0ff;
  --text-2: #8888aa;
  --text-dim: #6b6b8f;
  --good: #4ade80;
  --radius: 14px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

a { color: var(--accent); }
a:hover { color: var(--text); }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }

header.site {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
}
header.site .brand { font-weight: 800; font-size: 20px; color: var(--text); text-decoration: none; letter-spacing: 0.3px; }
header.site nav a { color: var(--text-2); text-decoration: none; font-size: 15px; margin-left: 16px; }
header.site nav a:hover { color: var(--text); }

.hero { padding: 40px 0 24px; text-align: center; }
.hero h1 { font-size: clamp(30px, 7vw, 46px); line-height: 1.12; margin: 0 0 14px; font-weight: 900; }
.hero p.lead { color: var(--text-2); font-size: 18px; margin: 0 auto 18px; max-width: 560px; }

.pill {
  display: inline-block; padding: 5px 12px; border-radius: 999px;
  border: 1px solid var(--accent); background: var(--accent-dim);
  color: var(--text); font-size: 14px; font-weight: 600;
}

.video {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  border-radius: var(--radius); overflow: hidden;
  background: var(--card); border: 1px solid var(--border);
  margin: 24px 0;
}
.video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.placeholder {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: var(--text-dim); font-size: 15px; text-align: center; padding: 16px;
}

.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 8px 0 32px; }
.shots figure { margin: 0; }
.shot {
  position: relative; aspect-ratio: 9 / 19.5; border-radius: 18px; overflow: hidden;
  background: var(--card); border: 1px solid var(--border);
}
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shots figcaption { color: var(--text-2); font-size: 13px; text-align: center; margin-top: 8px; }

section.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 20px; margin: 0 0 24px;
}
section.card h2 { margin: 0 0 8px; font-size: 22px; }
section.card p { color: var(--text-2); margin: 0 0 14px; }

form.waitlist { display: flex; gap: 10px; flex-wrap: wrap; }
form.waitlist label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
form.waitlist input[type="email"] {
  flex: 1 1 220px; min-width: 0; padding: 13px 14px; font-size: 16px;
  color: var(--text); background: var(--card-raised);
  border: 1px solid var(--border); border-radius: 10px;
}
form.waitlist input[type="email"]:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
form.waitlist button {
  flex: 0 0 auto; padding: 13px 20px; font-size: 16px; font-weight: 700;
  color: #fff; background: var(--accent); border: 0; border-radius: 10px; cursor: pointer;
}
form.waitlist button:hover { filter: brightness(1.1); }
.fineprint { color: var(--text-dim); font-size: 13px; margin-top: 10px; }

ul.points { padding-left: 20px; color: var(--text-2); }
ul.points li { margin: 6px 0; }

/* Privacy page */
article.doc h1 { font-size: 32px; margin: 24px 0 6px; }
article.doc h2 { font-size: 21px; margin: 32px 0 8px; }
article.doc p, article.doc li { color: var(--text-2); }
article.doc strong { color: var(--text); }
article.doc .updated { color: var(--text-dim); font-size: 14px; margin-bottom: 24px; }

footer.site {
  border-top: 1px solid var(--border); margin-top: 40px; padding: 20px 0 40px;
  color: var(--text-dim); font-size: 14px; display: flex; gap: 16px; flex-wrap: wrap;
}
footer.site a { color: var(--text-2); }

[hidden] { display: none !important; }

@media (max-width: 480px) {
  body { font-size: 16px; }
  .hero { padding-top: 24px; }
  .shots { gap: 8px; }
  .shots figcaption { font-size: 12px; }
  form.waitlist button { width: 100%; }
}
