/* SoulNest — 1:1 Static Replica Stylesheet */
@font-face {
  font-family: 'Gilroy';
  src: url('assets/fonts/gilroy-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gilroy';
  src: url('assets/fonts/gilroy-medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gilroy';
  src: url('assets/fonts/gilroy-semibold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gilroy';
  src: url('assets/fonts/gilroy-bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('assets/fonts/playfair-display-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-light: #FBF9F5;
  --bg-dark: #000000;
  --nav-bg: #15241D;
  --ink-dark: #010101;
  --ink-light: #FBF9F5;
  --ink-muted: #8D8D8D;
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Gilroy', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background: var(--bg-light);
  color: var(--ink-dark);
  color-scheme: light only;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg-light);
  color: var(--ink-dark);
  font-family: var(--font-sans);
  overflow-x: hidden;
  line-height: 1.45;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ── Floating Pill Header ─────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 16px 24px;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.nav-pill {
  pointer-events: auto;
  width: 100%;
  max-width: 980px;
  height: 50px;
  background: var(--nav-bg);
  border-radius: 999px;
  padding: 0 32px 0 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #FFFFFF;
  font-weight: 600;
  font-size: 21px;
  letter-spacing: -0.02em;
}

.nav-brand img {
  width: 24px;
  height: 23px;
  object-fit: contain;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  color: var(--ink-light);
  font-size: 17px;
  font-weight: 400;
  opacity: 0.92;
  transition: opacity 0.2s ease;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  opacity: 1;
}

.nav-cta {
  background: #FFFFFF;
  color: var(--ink-dark);
  font-size: 15px;
  font-weight: 500;
  padding: 7px 22px;
  border-radius: 999px;
  transition: transform 0.18s ease, background 0.18s ease;
}

.nav-cta:hover {
  background: #F3EFE8;
  transform: translateY(-1px);
}

/* ── Buttons ──────────────────────────────────────────────────────────── */
.btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #000000;
  color: var(--ink-light);
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 400;
  padding: 12px 32px;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn-dark:hover {
  opacity: 0.86;
  transform: translateY(-1px);
}

/* ── Wave Dividers ────────────────────────────────────────────────────── */
.wave-divider {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  background: var(--bg-light);
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: 68px;
}

.wave-divider--bottom {
  background: var(--bg-light);
}

.footer-arc {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  background: var(--bg-light);
  margin-top: 24px;
}

.footer-arc svg {
  display: block;
  width: 100%;
  height: 78px;
}

/* ── Hero Section (Home) ──────────────────────────────────────────────── */
.hero {
  max-width: 1040px;
  margin: 0 auto;
  padding: 64px 24px 96px;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 24px;
}

.hero-copy {
  position: relative;
  padding-left: 16px;
}

.hero-headline {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 53px;
  line-height: 1.36;
  letter-spacing: -0.04em;
  color: var(--ink-dark);
}

.hero-gently-wrap {
  position: relative;
  display: inline-block;
}

.doodle-gently-burst {
  position: absolute;
  top: -8px;
  right: -28px;
  width: 36px;
  height: 36px;
  pointer-events: none;
  transform: rotate(-16deg);
}

.hero-brand-line {
  display: block;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 53px;
  line-height: 1.24;
  letter-spacing: -0.03em;
  margin-top: 2px;
}

.hero-actions {
  margin-top: 26px;
}

/* Hero Orb Visual */
.orb-stage {
  position: relative;
  width: 470px;
  height: 470px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orb-circle {
  width: 438px;
  height: 438px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  z-index: 2;
  background: radial-gradient(circle at 60% 35%, #FF9F2E, #F79D65 45%, #D9A7F5 88%);
}

.orb-circle video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.06);
}

.orb-ribbon-top {
  position: absolute;
  top: -10px;
  left: -18px;
  width: 492px;
  height: auto;
  z-index: 4;
  pointer-events: none;
}

.orb-ribbon-bottom {
  position: absolute;
  bottom: -14px;
  left: -18px;
  width: 196px;
  height: auto;
  z-index: 4;
  pointer-events: none;
}

.orb-sparkle-tl {
  position: absolute;
  top: 72px;
  left: -62px;
  width: 42px;
  height: 52px;
  z-index: 5;
  pointer-events: none;
}

.orb-sparkle-br {
  position: absolute;
  bottom: -24px;
  right: -14px;
  width: 44px;
  height: 58px;
  z-index: 5;
  pointer-events: none;
}

/* ── Feature Sections (Alternating Dark & Light) ──────────────────────── */
.section-dark {
  background: var(--bg-dark);
  color: var(--ink-light);
}

.section-light {
  background: var(--bg-light);
  color: var(--ink-dark);
}

.feature-inner {
  max-width: 1020px;
  margin: 0 auto;
  padding: 54px 24px 66px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
}

.feature-inner--reverse .feature-media {
  order: 2;
}

.feature-inner--reverse .feature-text {
  order: 1;
}

.feature-media {
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: 308px;
  aspect-ratio: 308 / 640;
  border-radius: 46px;
  overflow: hidden;
  position: relative;
  background: #000000;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.section-light .phone-frame {
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.14);
}

.phone-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feature-text {
  position: relative;
  max-width: 410px;
}

.feature-inner--reverse .feature-text {
  margin-left: auto;
}

.feature-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 53px;
  line-height: 1.32;
  letter-spacing: -0.04em;
  margin-bottom: 18px;
}

.feature-desc {
  font-family: var(--font-sans);
  font-size: 16.5px;
  line-height: 1.42;
  font-weight: 400;
  opacity: 0.92;
}

.feature-desc p + p {
  margin-top: 6px;
}

/* Feature decorative SVGs */
.doodle {
  position: absolute;
  pointer-events: none;
}

.doodle-s2-sparkle {
  top: -36px;
  right: -20px;
  width: 38px;
  height: 44px;
}

.doodle-s2-asterisk {
  bottom: -66px;
  left: -56px;
  width: 32px;
  height: 44px;
}

.doodle-s3-heart {
  bottom: 12px;
  left: -72px;
  width: 48px;
  height: 48px;
}

.doodle-s4-flower-tr {
  top: -46px;
  right: 8px;
  width: 40px;
  height: 40px;
}

.doodle-s4-flower-bl {
  bottom: -48px;
  left: -58px;
  width: 40px;
  height: 40px;
}

.doodle-s5-star {
  top: -22px;
  left: -50px;
  width: 32px;
  height: 28px;
}

/* ── Watch Section ────────────────────────────────────────────────────── */
.watch-section {
  max-width: 980px;
  margin: 0 auto;
  padding: 58px 24px 86px;
  text-align: center;
}

.watch-section .feature-title {
  margin-bottom: 10px;
}

.watch-subtitle {
  font-size: 16.5px;
  opacity: 0.9;
  margin-bottom: 44px;
}

.watch-img {
  width: 100%;
  max-width: 650px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ── Outcome Section ──────────────────────────────────────────────────── */
.outcome-section {
  max-width: 960px;
  margin: 0 auto;
  padding: 66px 24px 86px;
  text-align: center;
}

.outcome-heading {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 46px;
  letter-spacing: -0.04em;
  margin-bottom: 84px;
}

.outcome-grid {
  display: grid;
  grid-template-columns: repeat(3, 250px);
  justify-content: center;
  gap: 72px;
}

.outcome-card {
  position: relative;
  width: 250px;
  height: 260px;
  text-align: left;
}

.outcome-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg preserveAspectRatio='none' viewBox='14 10 172 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M186 32.8 163.7 10H35.3L14 32.8v136.4L34.8 190h128.9l22.3-21.3V32.8z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg preserveAspectRatio='none' viewBox='14 10 172 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M186 32.8 163.7 10H35.3L14 32.8v136.4L34.8 190h128.9l22.3-21.3V32.8z'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  background: linear-gradient(135deg, #27A5E8 0%, #F7D4F5 65%, #FCE6F8 100%);
}

.outcome-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.outcome-card--2 .outcome-bg video {
  transform: scaleX(-1) rotate(90deg) scale(1.2);
}

.outcome-card--3 .outcome-bg video {
  transform: rotate(180deg) scale(1.1);
}

.outcome-stat {
  position: relative;
  z-index: 3;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 76px;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--ink-dark);
  margin-top: -36px;
  padding-left: 34px;
}

.outcome-desc {
  position: relative;
  z-index: 3;
  font-family: var(--font-sans);
  font-size: 14.5px;
  line-height: 1.38;
  color: var(--ink-dark);
  padding: 36px 28px 24px 36px;
}

.outcome-doodle-1 {
  position: absolute;
  top: -70px;
  left: -4px;
  width: 52px;
  height: 52px;
  z-index: 4;
  transform: rotate(-122deg);
}

.outcome-doodle-2 {
  position: absolute;
  top: -78px;
  left: 6px;
  width: 44px;
  height: 52px;
  z-index: 4;
}

.outcome-doodle-3 {
  position: absolute;
  top: -50px;
  right: -2px;
  width: 36px;
  height: 46px;
  z-index: 4;
}

/* ── About Page ───────────────────────────────────────────────────────── */
.about-intro {
  max-width: 780px;
  margin: 0 auto;
  padding: 96px 24px 86px;
  text-align: center;
  position: relative;
}

.about-question {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 36px;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--ink-dark);
  margin-bottom: 34px;
}

.about-lead {
  font-family: var(--font-sans);
  font-size: 17.5px;
  line-height: 1.72;
  color: var(--ink-dark);
  max-width: 650px;
  margin: 0 auto;
}

.about-sparkle-l {
  position: absolute;
  top: 66px;
  left: 24px;
  width: 33px;
  height: 45px;
  pointer-events: none;
}

.about-sparkle-r {
  position: absolute;
  top: 200px;
  right: 30px;
  width: 24px;
  height: 35px;
  pointer-events: none;
}

.about-story {
  max-width: 1020px;
  margin: 0 auto;
  padding: 54px 24px 104px;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 56px;
}

.story-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 36px;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.story-copy {
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--ink-dark);
}

.story-copy p + p {
  margin-top: 4px;
}

.story-copy .story-gap {
  margin-top: 12px;
}

.story-actions {
  margin-top: 28px;
}

/* About Double-Lobe Masked Orb */
.about-orb-stage {
  position: relative;
  width: 440px;
  height: 440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-orb-mask {
  width: 408px;
  height: 422px;
  position: relative;
  z-index: 2;
  overflow: hidden;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg preserveAspectRatio='none' viewBox='11.7 40.8 179.9 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cg transform='translate(203.3 0) rotate(90)'%3E%3Cpath d='M160.8 71.7c0 10.9-2.9 21.1-8 29.9-10.4 17.9-29.7 30-51.9 30v-60c-22.2 0-41.7 12.2-52.1 30.1-5.1-8.8-8-19.1-8-30 0-33.2 26.9-60 60-60s60 26.9 60 60z' opacity='.55'/%3E%3Cpath d='M152.7 101.6c-10.4 17.9-29.7 29.9-51.8 30v-60h-.1c-22.2 0-41.6 12.1-52 30-5.1 8.8-8 19.1-8 30 0 33.2 26.9 60 60 60s60-26.9 60-60c0-10.9-3-21.2-8.1-30z'/%3E%3C/g%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg preserveAspectRatio='none' viewBox='11.7 40.8 179.9 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cg transform='translate(203.3 0) rotate(90)'%3E%3Cpath d='M160.8 71.7c0 10.9-2.9 21.1-8 29.9-10.4 17.9-29.7 30-51.9 30v-60c-22.2 0-41.7 12.2-52.1 30.1-5.1-8.8-8-19.1-8-30 0-33.2 26.9-60 60-60s60 26.9 60 60z' opacity='.55'/%3E%3Cpath d='M152.7 101.6c-10.4 17.9-29.7 29.9-51.8 30v-60h-.1c-22.2 0-41.6 12.1-52 30-5.1 8.8-8 19.1-8 30 0 33.2 26.9 60 60 60s60-26.9 60-60c0-10.9-3-21.2-8.1-30z'/%3E%3C/g%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  background: radial-gradient(circle at 45% 45%, #FFA23E, #D9A7F5 85%);
}

.about-orb-mask video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-orb-stage .orb-ribbon-top {
  top: 2px;
  left: -8px;
  width: 444px;
}

.about-orb-stage .orb-ribbon-bottom {
  bottom: -14px;
  left: -14px;
  width: 186px;
}

.about-orb-stage .orb-sparkle-tl {
  top: 90px;
  left: -68px;
  width: 40px;
  height: 49px;
}

.about-orb-stage .orb-sparkle-br {
  bottom: -6px;
  right: -12px;
  width: 42px;
  height: 56px;
}

/* ── Footer ───────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-dark);
  color: var(--ink-light);
  padding: 20px 24px 36px;
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 158px;
}

.footer-wordmark {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 60px;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #FFFFFF;
}

.footer-copy {
  font-size: 14px;
  color: var(--ink-light);
  opacity: 0.9;
  margin-top: 40px;
}

.footer-links-col {
  min-width: 190px;
}

.footer-links-title {
  font-size: 18px;
  font-weight: 400;
  color: #FFFFFF;
  margin-bottom: 14px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-links-list a,
.footer-links-list button {
  font-size: 16.5px;
  color: var(--ink-muted);
  text-align: left;
  transition: color 0.18s ease;
}

.footer-links-list a:hover,
.footer-links-list button:hover {
  color: #FFFFFF;
}

/* ── Waitlist Modal (1:1 Private Beta Lightbox) ───────────────────────── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0, 0, 0, 0.56);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  position: relative;
  width: 100%;
  max-width: 520px;
  background: #FFF9F5;
  color: var(--ink-dark);
  padding: 46px 56px 54px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
  transform: translateY(10px);
  transition: transform 0.22s ease;
}

.modal-backdrop.is-open .modal-card {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #222;
  opacity: 0.72;
  transition: opacity 0.18s ease;
}

.modal-close:hover {
  opacity: 1;
}

.modal-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 38px;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: #1A1A1A;
  margin-bottom: 22px;
  padding-right: 28px;
}

.modal-desc {
  font-size: 15.5px;
  line-height: 1.55;
  color: #3E3A37;
  margin-bottom: 34px;
}

.modal-form {
  max-width: 300px;
  margin: 0 auto;
}

.modal-label {
  display: block;
  font-size: 13.5px;
  color: #555;
  margin-bottom: 12px;
}

.modal-input {
  width: 100%;
  border: none;
  border-bottom: 1px solid #222;
  background: transparent;
  padding: 8px 2px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: #111;
  outline: none;
  margin-bottom: 20px;
}

.modal-input::placeholder {
  font-style: italic;
  color: #777;
}

.modal-submit {
  width: 100%;
  background: #000000;
  color: #FFFFFF;
  font-size: 15.5px;
  font-weight: 500;
  padding: 13px 24px;
  border-radius: 999px;
  transition: opacity 0.18s ease;
}

.modal-submit:hover {
  opacity: 0.86;
}

.modal-success {
  display: none;
  text-align: center;
  padding: 12px 0 4px;
}

.modal-success.is-visible {
  display: block;
}

.modal-success p {
  font-size: 16px;
  color: #15241D;
  line-height: 1.55;
}

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 40px 20px 64px;
    gap: 56px;
  }
  .hero-copy {
    padding-left: 0;
  }
  .orb-stage {
    width: 330px;
    height: 330px;
  }
  .orb-circle {
    width: 300px;
    height: 300px;
  }
  .orb-ribbon-top {
    width: 340px;
    left: -8px;
  }
  .orb-ribbon-bottom {
    width: 140px;
    left: -6px;
  }
  .orb-sparkle-tl {
    left: -12px;
    top: 32px;
  }
  .orb-sparkle-br {
    right: -4px;
  }

  .feature-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 36px;
    padding: 40px 20px 54px;
  }
  .feature-inner--reverse .feature-media {
    order: 0;
  }
  .feature-inner--reverse .feature-text {
    order: 1;
    margin: 0 auto;
  }
  .feature-text {
    margin: 0 auto;
  }
  .feature-title,
  .hero-headline,
  .hero-brand-line {
    font-size: 40px;
  }
  .doodle {
    display: none;
  }

  .outcome-grid {
    grid-template-columns: 250px;
    gap: 84px;
  }

  .about-story {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 24px 20px 72px;
  }
  .about-orb-stage {
    width: 320px;
    height: 330px;
  }
  .about-orb-mask {
    width: 296px;
    height: 306px;
  }
  .about-orb-stage .orb-ribbon-top {
    width: 320px;
  }
  .about-sparkle-l,
  .about-sparkle-r {
    display: none;
  }

  .footer-inner {
    flex-direction: column;
  }
  .footer-brand-col {
    min-height: auto;
  }
  .footer-wordmark {
    font-size: 44px;
  }
  .nav-pill {
    padding: 0 18px 0 22px;
  }
  .nav-links {
    gap: 16px;
  }
}
