/* moonvibes.app — Vorbit's home page. Static, no tracking, fonts bundled. */
@font-face {
  font-family: Nunito;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/nunito-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: Nunito;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/nunito-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: Nunito;
  font-weight: 800;
  font-display: swap;
  src: url("/fonts/nunito-latin-800-normal.woff2") format("woff2");
}

:root {
  --bg: #0f0b1e;
  --bg2: #171230;
  --card: #1d1738;
  --fg: #f1eefb;
  --muted: #b2abcf;
  --primary: #7c5cff;
  --primary2: #b44dff;
  --line: rgba(255, 255, 255, 0.09);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font:
    17px/1.6 Nunito,
    system-ui,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header.top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(15, 11, 30, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
header.top .wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  text-decoration: none;
}
.brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}
header.top nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 15px;
  font-weight: 700;
}
header.top nav a {
  text-decoration: none;
  color: var(--muted);
}
header.top nav a:hover {
  color: var(--fg);
}
@media (max-width: 640px) {
  header.top nav .hide-sm {
    display: none;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 16px;
  font-weight: 800;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-size: 16px;
}
.btn.primary {
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  color: #fff;
  box-shadow: 0 10px 30px rgba(124, 92, 255, 0.35);
}
.btn.ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--fg);
}
.btn.small {
  padding: 9px 16px;
  font-size: 14px;
  border-radius: 12px;
}
.btn[aria-disabled="true"] {
  opacity: 0.7;
  cursor: default;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60% 70% at 15% 10%, rgba(124, 92, 255, 0.45), transparent 70%),
    radial-gradient(50% 60% at 95% 60%, rgba(180, 77, 255, 0.35), transparent 70%);
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  padding-top: 72px;
  padding-bottom: 72px;
}
.hero h1 {
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.05;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
}
.hero p.lead {
  font-size: clamp(18px, 2.2vw, 21px);
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 34em;
}
.hero .ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero .note {
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
}
.phones {
  position: relative;
  height: 560px;
}
.phones img {
  position: absolute;
  width: 270px;
  border-radius: 28px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
}
.phones img:first-child {
  right: 150px;
  top: 40px;
  transform: rotate(-6deg);
}
.phones img:last-child {
  right: 0;
  top: 0;
}
@media (max-width: 860px) {
  .hero .wrap {
    grid-template-columns: 1fr;
    padding-top: 48px;
  }
  .phones {
    height: auto;
    display: flex;
    justify-content: center;
  }
  /* Phones: one screenshot, centred. */
  .phones img {
    position: static;
    width: min(240px, 62vw);
    border-radius: 22px;
  }
  .phones img:first-child {
    display: none;
  }
}

/* Sections */
section.block {
  padding: 72px 0;
}
section.block.alt {
  background: var(--bg2);
}
section.block h2 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
section.block p.sub {
  color: var(--muted);
  margin: 0 0 36px;
  max-width: 40em;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
}
.card .emoji {
  font-size: 30px;
  line-height: 1;
}
.card h3 {
  margin: 12px 0 6px;
  font-size: 19px;
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
}

/* Screenshot strip */
.shots {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
}
.shots img {
  width: 230px;
  flex: 0 0 auto;
  border-radius: 22px;
  scroll-snap-align: start;
}

/* Where */
.where {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.where .card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.where .card .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* FAQ */
details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px 20px;
  margin-bottom: 10px;
}
details summary {
  cursor: pointer;
  font-weight: 800;
}
details p {
  color: var(--muted);
  margin: 10px 0 0;
}

/* Footer */
footer {
  border-top: 1px solid var(--line);
  padding: 32px 0 48px;
  color: var(--muted);
  font-size: 14.5px;
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
}
footer .links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-left: auto;
}
