:root {
  --night: #14132B;
  --surface-1: #232145;
  --surface-2: #1C1B38;
  --chrome: #171634;
  --coral: #FF6F5E;
  --violet: #7C6CFF;
  --violet-tint: #BDB4FF;
  --gold: #FFC857;
  --warm-white: #F5F3EE;
  --warm-white-secondary: rgba(245,243,238,.62);
  --border: rgba(245,243,238,.08);
  --max-width: 880px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--night);
  color: var(--warm-white);
  font-family: Manrope, system-ui, sans-serif;
  line-height: 1.55;
}

h1, h2, h3, .wordmark {
  font-family: Sora, system-ui, sans-serif;
  font-weight: 700;
  color: var(--warm-white);
  line-height: 1.2;
}

h1 { font-size: 2.4rem; margin: 0 0 .6em; }
h2 { font-size: 1.5rem; font-weight: 600; margin: 2em 0 .6em; }
h3 { font-size: 1.1rem; font-weight: 600; margin: 1.5em 0 .4em; }

p { color: var(--warm-white-secondary); margin: 0 0 1em; }
strong { color: var(--warm-white); }

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

code, .mono { font-family: "JetBrains Mono", monospace; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

header.site {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(20,19,43,.92);
  backdrop-filter: blur(8px);
  z-index: 10;
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.wordmark {
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.wordmark .dot { color: var(--coral); }

nav.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: .9rem;
}
nav.site-nav a { color: var(--warm-white-secondary); }
nav.site-nav a:hover { color: var(--warm-white); text-decoration: none; }

main { padding: 48px 0 96px; }

.hero { padding: 56px 0 24px; text-align: center; }
.hero p.lead {
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto 2em;
}
.badge {
  display: inline-block;
  background: var(--surface-1);
  color: var(--violet-tint);
  font-size: .75rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 1.2em;
  letter-spacing: .02em;
}

.store-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5em;
}
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--surface-1);
  border: 1px solid var(--border);
  color: var(--warm-white);
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 600;
  font-size: .95rem;
}
.store-btn:hover { border-color: var(--violet); text-decoration: none; }
.store-btn.primary { background: var(--coral); border-color: var(--coral); color: var(--night); }
.store-btn.primary:hover { opacity: .9; }

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 56px;
}
.feature-card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
}
.feature-card .accent { font-size: 1.5rem; margin-bottom: 8px; display: block; }
.feature-card h3 { margin-top: 0; }
.feature-card p { margin: 0; font-size: .9rem; }

footer.site {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  margin-top: 64px;
}
footer.site .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .8rem;
  color: var(--warm-white-secondary);
}
footer.site a { color: var(--warm-white-secondary); }
footer.site nav { display: flex; gap: 16px; }

.legal ul { color: var(--warm-white-secondary); padding-left: 1.2em; }
.legal li { margin-bottom: .5em; }
.legal .updated { color: var(--warm-white-secondary); font-size: .85rem; margin-top: -0.6em; margin-bottom: 2.5em; }
.placeholder { color: var(--gold); }

/* --- join page --- */
.join-card {
  max-width: 420px;
  margin: 40px auto 0;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 36px 28px;
  text-align: center;
}
.join-code {
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  font-size: 2.2rem;
  letter-spacing: .12em;
  color: var(--warm-white);
  background: var(--surface-2);
  border-radius: 12px;
  padding: 16px;
  margin: 20px 0;
}
.open-app-btn {
  display: block;
  width: 100%;
  background: var(--coral);
  color: var(--night);
  font-weight: 700;
  font-size: 1rem;
  padding: 16px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  margin-top: 8px;
}
.open-app-btn:hover { opacity: .92; text-decoration: none; }
.join-status { font-size: .85rem; color: var(--warm-white-secondary); margin-top: 16px; min-height: 1.2em; }

@media (max-width: 600px) {
  h1 { font-size: 1.9rem; }
  nav.site-nav { gap: 12px; }
  header.site .wrap { flex-wrap: wrap; row-gap: 10px; }
}

/* --- landing additions --- */
.center { text-align: center; }
.small { font-size: .85rem; }
.app-icon { border-radius: 22px; margin-bottom: 20px; box-shadow: 0 8px 30px rgba(124,108,255,.35); }
#video, #features, #screens, #about { margin-top: 24px; }
.video-frame { position: relative; max-width: 760px; aspect-ratio: 16/9; margin: 16px auto; border-radius: 20px; overflow: hidden; border: 1px solid var(--border); background: var(--surface-2); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.shots { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 4px 16px; margin-top: 24px; }
.shots img { height: 460px; width: auto; border-radius: 22px; border: 1px solid var(--border); scroll-snap-align: center; flex: none; }
.panel { background: var(--surface-1); border: 1px solid var(--border); border-radius: 20px; padding: 28px; }
.facts { list-style: none; padding: 0; margin: 1.2em 0; color: var(--warm-white-secondary); }
.facts li { margin-bottom: .5em; }
@media (max-width: 600px) { .shots img { height: 380px; } }
