/* Lune site. One small stylesheet, no build step. Night palette to match
   the app; typography does the work. */
:root {
  --bg: #10142b;
  --bg-deep: #0b0e20;
  --surface: #191e3a;
  --ink: #e8eaf6;
  --ink-secondary: #a0a6c8;
  --accent: #c9d4ff;
  --ember: #e8734a;
  --rule: #2a3054;
  --serif: ui-serif, "New York", Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: #0b0e20; }
body {
  background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg) 38%, #141936 100%);
  color: var(--ink);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Header */
header.site {
  max-width: 71rem;
  margin: 0 auto;
  padding: 1.6rem 1.25rem 0;
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
}
header.site a { color: var(--ink-secondary); text-decoration: none; font-size: 0.95rem; }
header.site a:hover { color: var(--ink); }
header.site .wordmark {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-right: auto;
  text-decoration: none;
}

/* Legal / support pages */
main {
  max-width: 42rem;
  margin: 0 auto;
  padding: 3rem 1.25rem 5rem;
}
h1 { font-family: var(--serif); font-size: 2rem; line-height: 1.2; margin: 2.5rem 0 0.5rem; font-weight: 600; }
h2 { font-size: 1.15rem; margin: 2.2rem 0 0.6rem; font-weight: 600; }
p, li { color: var(--ink); }
p { margin: 0.9rem 0; }
ul { margin: 0.9rem 0 0.9rem 1.3rem; }
li { margin: 0.35rem 0; }
a { color: var(--accent); }
.muted { color: var(--ink-secondary); }
.updated { color: var(--ink-secondary); font-size: 0.9rem; margin-bottom: 2rem; }
.card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 1.1rem 1.25rem;
  margin: 1.4rem 0;
}

/* Landing */
main.landing { max-width: 71rem; padding: 2rem 1.25rem 4rem; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 3rem;
  align-items: center;
  padding: 3.5rem 0 4.5rem;
}
.hero-copy h1 {
  font-size: clamp(2.3rem, 5vw, 3.4rem);
  margin: 0 0 1.1rem;
  letter-spacing: -0.01em;
}
.hero-copy .lede {
  font-size: 1.2rem;
  color: var(--ink-secondary);
  max-width: 34rem;
}
.hero-copy .lede strong { color: var(--ink); font-weight: 600; }
.store {
  margin-top: 2.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.store img { height: 54px; width: auto; display: block; }
.store .soon { color: var(--ink-secondary); font-size: 0.95rem; }

/* Phone frame around the product video */
.phone {
  justify-self: center;
  position: relative;
  width: min(320px, 78vw);
  aspect-ratio: 1206 / 2622;
  border-radius: 12.5% / 5.75%;
  background: #000;
  padding: 1.5%;
  box-shadow:
    0 0 0 2px #3a4066,
    0 24px 80px rgba(0, 0, 0, 0.55),
    0 4px 18px rgba(0, 0, 0, 0.4);
}
.phone video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 11.5% / 5.3%;
  display: block;
  background: var(--bg-deep);
}

/* Feature cards */
.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
  margin: 0 0 3.5rem;
}
.feature {
  background: rgba(25, 30, 58, 0.75);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 1.4rem 1.4rem 1.5rem;
}
.feature h3 { font-size: 1.05rem; margin-bottom: 0.5rem; font-weight: 600; }
.feature p { color: var(--ink-secondary); margin: 0; font-size: 0.98rem; }

/* Visible learning */
.learns {
  border-top: 1px solid var(--rule);
  padding: 3.2rem 0 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 2.5rem;
  align-items: start;
}
.learns h2 { font-family: var(--serif); font-size: 1.7rem; margin: 0 0 0.8rem; }
.learns .intro { color: var(--ink-secondary); }
.learns ul { list-style: none; margin: 0; }
.learns li {
  margin: 0.85rem 0;
  padding-left: 1.6rem;
  position: relative;
  color: var(--ink);
}
.learns li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--ember);
  opacity: 0.85;
}
.learns li span { color: var(--ink-secondary); }
blockquote.app-line {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 16px 16px 16px 4px;
  padding: 1rem 1.2rem;
  margin: 1.6rem 0 0;
  color: var(--ink);
  font-size: 0.98rem;
}
blockquote.app-line footer { color: var(--ink-secondary); font-size: 0.85rem; margin-top: 0.5rem; }

.disclaimer {
  border-top: 1px solid var(--rule);
  margin-top: 3rem;
  padding-top: 2rem;
  color: var(--ink-secondary);
  font-size: 0.95rem;
  max-width: 44rem;
}

footer.site {
  max-width: 71rem;
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
  color: var(--ink-secondary);
  font-size: 0.9rem;
}
footer.site a { color: var(--ink-secondary); }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding: 2rem 0 3rem; gap: 2.5rem; }
  .hero-copy { text-align: center; }
  .hero-copy .lede { margin: 0 auto; }
  .store { justify-content: center; }
  .features { grid-template-columns: 1fr; }
  .learns { grid-template-columns: 1fr; gap: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
