/* ═══════════════════════════════════════════
   Roshade — soft landing (rbxmultiple-style)
═══════════════════════════════════════════ */

:root {
  --max: 1160px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --topbar-h: 62px;
  --shell-pink: #e393a4;
  --shell-pink-deep: #d47a92;
  --shell-bg: #fdeff4;
  --shell-card: #ffffff;
  --cta-bg: linear-gradient(135deg, #e89ab0 0%, #e393a4 48%, #d88aa8 100%);
  --cta-fg: #fff;
  --lime: #e393a4;
  --lime-d: #c96d88;
  --glow: rgba(227, 147, 164, 0.38);
}

body {
  background: var(--shell-bg);
  overflow-x: hidden;
  overflow-y: auto;
}

body.landing-birch {
  background: #070a09;
}

.bg-glow {
  display: block !important;
  background:
    radial-gradient(ellipse 100% 80% at 50% -15%, rgba(255, 255, 255, 0.98), transparent 58%),
    radial-gradient(ellipse 45% 38% at 0% 40%, rgba(227, 147, 164, 0.2), transparent 62%),
    radial-gradient(ellipse 42% 36% at 100% 35%, rgba(216, 170, 200, 0.16), transparent 58%),
    linear-gradient(180deg, #fdeff4 0%, #fce8ef 45%, #fdeff4 100%);
  opacity: 1;
}

.orb,
.noise,
.grid-overlay {
  display: none !important;
}

.bg-glow,
.orb,
.noise,
.grid-overlay {
  pointer-events: none !important;
  z-index: 0 !important;
}

main,
.topbar {
  position: relative;
  z-index: 2;
}

.hero-interactive {
  opacity: 1 !important;
  translate: none !important;
  scale: 1 !important;
  pointer-events: auto !important;
}

.hero-cta,
.hero-cta .cta-btn,
.hero-cta .btn-secondary,
.hero-video--shell .video-lite {
  position: relative;
  z-index: 3;
  cursor: pointer;
}

/* ─── Topbar ─── */
.topbar {
  border-bottom: none;
  background: rgba(253, 239, 244, 0.75);
  backdrop-filter: blur(16px);
  padding: 0;
}

.topbar-shell {
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  min-height: var(--topbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem var(--pad);
  gap: 1rem;
}

.brand {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand-icon {
  display: block !important;
  width: 32px !important;
  height: 32px !important;
}

.topbar-nav a:not(.pill-btn) {
  font-size: 0.84rem;
  font-weight: 500;
  padding: 0.4rem 0.65rem;
  color: var(--ink-2);
}

.pill-btn {
  margin-left: 0.55rem !important;
  padding: 0.5rem 1.25rem !important;
  font-size: 0.78rem !important;
  background: var(--shell-pink) !important;
  box-shadow: 0 6px 22px var(--glow) !important;
}

/* ─── Hero ─── */
.hero--shell {
  min-height: unset;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2rem, 5vh, 3.25rem) var(--pad) clamp(2.5rem, 5vh, 3.5rem);
  display: block;
}

.hero--shell::before {
  display: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.hero-copy {
  max-width: none;
}

.hero-badge {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(53, 40, 64, 0.07);
  box-shadow: 0 6px 24px rgba(53, 40, 64, 0.06);
  margin-bottom: 1.15rem;
  padding: 0.35rem 0.9rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--ink-2);
}

.hero-h1--serif {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-size: clamp(2.65rem, 5.2vw, 4.05rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 1.1rem;
}

.hero-h1--serif .h1-line {
  display: block;
}

.hero-h1--serif .h1-grad {
  background: linear-gradient(120deg, #e393a4 0%, #c96d88 55%, #9a6a8a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}

.hero-desc {
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.65;
  margin-bottom: 1.65rem;
  max-width: 38ch;
  color: #7a6d75;
}

.hero-cta {
  gap: 0.85rem;
  margin-bottom: 1.1rem;
}

.cta-btn--hero {
  background: var(--shell-pink);
  box-shadow: 0 10px 32px var(--glow);
  padding: 0.95rem 2rem;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.92rem 1.65rem;
  border-radius: 999px;
  background: var(--shell-card);
  border: 1px solid rgba(53, 40, 64, 0.11);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(53, 40, 64, 0.07);
  transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease), border-color 0.15s;
  white-space: nowrap;
}

.btn-secondary:hover {
  transform: translateY(-1px);
  border-color: rgba(227, 147, 164, 0.5);
  box-shadow: 0 12px 32px rgba(227, 147, 164, 0.18);
}

.hero-meta {
  font-size: 0.84rem;
  color: var(--ink-3);
  margin-bottom: 1.35rem;
}

.hero-meta a {
  color: var(--shell-pink-deep);
  font-weight: 600;
  text-decoration: none;
}

.hero-meta a:hover {
  text-decoration: underline;
}

.hero-meta-sep {
  margin: 0 0.4rem;
  opacity: 0.45;
}

.hero-browser-pill {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(53, 40, 64, 0.07);
  box-shadow: 0 10px 32px rgba(53, 40, 64, 0.07);
  width: fit-content;
  max-width: 100%;
}

.hero-browser-pill-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.hero-browser-pill-logos {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-2);
}

/* ─── Hero video card ─── */
.hero-visual {
  flex: unset;
  width: 100%;
}

.hero-media-shell {
  background: var(--shell-card);
  padding: clamp(12px, 1.5vw, 16px);
  border-radius: clamp(26px, 3vw, 36px);
  box-shadow:
    0 32px 80px rgba(227, 147, 164, 0.26),
    0 0 0 1px rgba(255, 255, 255, 0.95);
}

.hero-media-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.35rem 0.65rem 0.85rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.hero-media-head span:last-child {
  text-transform: none;
  letter-spacing: 0.02em;
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--ink-2);
}

.hero-video--shell {
  width: 100%;
}

.hero-video--shell .video-lite {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  border: none;
  padding: 0;
  margin: 0;
  border-radius: clamp(18px, 2.2vw, 24px);
  overflow: hidden;
  cursor: pointer;
  background: #fce8ef;
  text-align: left;
  box-shadow: none;
  transform: none;
  transition: box-shadow 0.25s var(--ease);
}

.hero-video--shell .video-lite:hover {
  box-shadow: 0 8px 28px rgba(227, 147, 164, 0.2);
}

.hero-video--shell .video-lite img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.06);
  border: none;
  outline: none;
  vertical-align: top;
  transition: filter 0.3s ease, transform 0.35s var(--ease);
}

.hero-video--shell .video-lite:hover img {
  filter: brightness(0.96);
  transform: scale(1.08);
}

.hero-video--shell .video-lite.is-playing {
  cursor: default;
}

.hero-video--shell .video-lite iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.hero-video--shell .video-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(253, 239, 244, 0.08);
  transition: background 0.25s ease;
}

.hero-video--shell .video-lite:hover .video-play {
  background: rgba(227, 147, 164, 0.12);
}

.hero-video--shell .video-lite.is-playing .video-play {
  display: none;
}

.video-play-btn--pink {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--shell-pink-deep);
  display: grid;
  place-items: center;
  padding-left: 4px;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s var(--ease);
}

.hero-video--shell .video-lite:hover .video-play-btn--pink {
  transform: scale(1.06);
}

.hero-video-hint {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.75rem;
  padding: 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-3);
}

.hero-video-hint a {
  color: var(--shell-pink-deep);
  text-decoration: none;
  font-weight: 600;
}

.hero-video-hint a:hover {
  text-decoration: underline;
}

/* ─── Sections ─── */
.spotlight {
  border-radius: clamp(24px, 3vw, 32px);
  margin-left: auto;
  margin-right: auto;
  max-width: calc(var(--max) - var(--pad) * 2);
}

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-desc {
    max-width: 40ch;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-browser-pill {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
    max-width: min(100%, 520px);
    margin: 0 auto;
  }

  .topbar-nav a:not(.pill-btn) {
    display: none;
  }
}

@media (max-width: 520px) {
  .hero-h1--serif {
    font-size: 2.35rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 340px;
  }

  .cta-btn--hero,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}
