/* Vela — Home 2 (centered dark, coming soon) */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Instrument+Serif:ital@0;1&display=swap");

:root {
  color-scheme: dark;
  --bg: #000000;
  --text: #f4f1f5;            /* off-white primary */
  --muted: #f4f1f599;         /* ~60% off-white */
  --muted-2: #f4f1f566;       /* ~40% off-white */
  --accent: #b7a1e0;          /* lavender "flow." */
  --sparkle: #ffffff;         /* white sparkle */
  --chip-bg: #f4f1f50f;
  --chip-border: #f4f1f524;
  --field-bg: #ffffff0f;
  --serif: "Instrument Serif", ui-serif, Georgia, serif;
  --sans: "Inter", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, monospace;
  --display: "Inter", var(--sans);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

/* ---------- Background video ---------- */
.bg-video {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: #000;
}

.bg-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Dark scrim so text stays legible over any frame */
.bg-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.78) 0%,
    rgba(0, 0, 0, 0.58) 26%,
    rgba(0, 0, 0, 0.58) 60%,
    rgba(0, 0, 0, 0.85) 100%
  );
}

html {
  overflow-x: hidden;
}

.page-shell {
  min-height: 100vh;
  min-height: 100dvh;
  padding: 28px 40px 72px;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* ---------- Top bar ---------- */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
}

.brand svg {
  width: 24px;
  height: 24px;
}

.brand-mark {
  height: 26px;
  width: auto;
}

.brand span {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 34px;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
}

/* ---------- Hero (centered) ---------- */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 18px;
  border: 1px solid var(--chip-border);
  border-radius: 999px;
  background: var(--chip-bg);
  backdrop-filter: blur(8px);
  margin-bottom: 30px;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-badge .b-strong {
  color: var(--text);
  font-weight: 500;
}

.hero-badge .b-muted {
  color: var(--muted);
}

.hero-badge .sparkle {
  color: var(--sparkle);
  font-size: 0.9rem;
  line-height: 0;
}

.hero h1 {
  margin: 0 0 22px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  line-height: 1.04;
  letter-spacing: -0.005em;
  max-width: none;
  text-shadow: 0 2px 26px rgba(0, 0, 0, 0.5);
}

.hero h1 .line {
  display: block;
}

.hero h1 .accent {
  color: var(--accent);
}

.lead {
  margin: 0 0 40px;
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  line-height: 1.5;
  color: var(--muted);
  max-width: 30ch;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.55);
}

/* ---------- Waitlist pill ---------- */
.join-form {
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(560px, 100%);
  padding: 7px 7px 7px 8px;
  border: 1px solid var(--chip-border);
  border-radius: 999px;
  background: var(--field-bg);
  backdrop-filter: blur(8px);
}

.join-form input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 12px 16px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text);
}

.join-form input::placeholder {
  color: var(--muted);
}

.join-form input:focus {
  outline: none;
}

.join-form button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: none;
  border-radius: 999px;
  background: var(--text);
  color: #0b0b0b;
  padding: 8px 8px 8px 22px;
  font-weight: 500;
  font-size: 0.95rem;
  font-family: inherit;
  cursor: pointer;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.join-form button:hover {
  opacity: 0.9;
}

.join-form button .arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #e7deec;
}

.join-form button .arrow svg {
  width: 15px;
  height: 15px;
}

.form-note {
  margin: 14px 0 0;
  min-height: 1.1em;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
  color: var(--muted);
}

/* ---------- Footer ---------- */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}

.trusted {
  flex: 1;
  min-width: 0;
}

.trusted-label {
  margin: 0 0 16px;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.marquee {
  position: relative;
  overflow: hidden;
  max-width: 640px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 88%, transparent);
}

.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 48px;
  white-space: nowrap;
  animation: scroll 22s linear infinite;
  will-change: transform;
}

.logo {
  color: var(--text);
  opacity: 0.82;
  font-size: 1.15rem;
  line-height: 1;
}

.client-logo {
  flex: 0 0 auto;
  height: 30px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  opacity: 0.72;
  transition: opacity 0.2s ease;
}

.client-logo:hover {
  opacity: 1;
}

.logo-her      { font-weight: 700; letter-spacing: 0.02em; }
.logo-perfect  { font-family: var(--serif); font-size: 1.45rem; }
.logo-chromatic{ font-family: var(--mono); text-transform: lowercase; letter-spacing: 0.12em; font-size: 1rem; }
.logo-rasala   { font-weight: 700; letter-spacing: -0.01em; }
.logo-aether   { letter-spacing: 0.28em; font-weight: 400; }

@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.footer-proof {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.avatars {
  display: flex;
  align-items: center;
}

.avatars img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  margin-left: -9px;
  border: 2px solid #000;
  object-fit: cover;
}

.avatars img:first-child {
  margin-left: 0;
}

.proof-text {
  margin: 0;
  max-width: 18ch;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.5;
  color: var(--muted);
}

.proof-text strong {
  color: var(--text);
  font-weight: 500;
}

/* ---------- Made in Framer badge ---------- */
.framer-badge {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border-radius: 999px;
  background: #ffffff;
  color: #0b0b0b;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.framer-badge svg {
  width: 13px;
  height: 13px;
}

/* ---------- Load animation ---------- */
.reveal {
  animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.reveal-1 { animation-delay: 0.05s; }
.reveal-2 { animation-delay: 0.15s; }
.reveal-3 { animation-delay: 0.28s; }
.reveal-4 { animation-delay: 0.42s; }
.reveal-5 { animation-delay: 0.56s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); filter: blur(8px); }
  to   { opacity: 1; transform: translateY(0);    filter: blur(0); }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none; }
  .marquee-track { animation: none; }
  .bg-video video { display: none; }
  .bg-video {
    background: #000 center / cover no-repeat url("Assets/bg-poster.jpg");
  }
}

/* ---------- Responsive ---------- */

/* Tablets */
@media (max-width: 900px) {
  .page-shell { padding: 24px 28px 44px; }

  .hero { padding: 32px 0; }

  .footer {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    min-width: 0;
  }

  .trusted { width: 100%; }

  .marquee { max-width: 100%; width: 100%; }
}

/* Phones */
@media (max-width: 600px) {
  .page-shell { padding: 20px 18px 34px; }

  .hero { padding: 18px 0; }
  .hero-badge { margin-bottom: 22px; }
  .hero h1 { font-size: clamp(1.7rem, 6.4vw, 2.4rem); }
  .lead { font-size: 1rem; margin-bottom: 30px; }

  .join-form {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    border-radius: 20px;
    padding: 10px;
  }
  .join-form input { width: 100%; text-align: center; padding: 13px 16px; }
  .join-form button { width: 100%; justify-content: center; padding: 13px 18px; }

  .marquee-track { gap: 34px; }
  .client-logo { height: 24px; max-width: 130px; }
}

/* Small phones */
@media (max-width: 380px) {
  .page-shell { padding: 16px 14px 28px; }
  .hero h1 { font-size: clamp(1.5rem, 7vw, 2rem); }
  .lead { font-size: 0.96rem; }
  .client-logo { height: 22px; }
}

/* Short landscape screens — don't force full-height centering */
@media (max-height: 560px) and (orientation: landscape) {
  .page-shell { min-height: auto; }
  .hero { padding: 28px 0; }
}
