/* Sleep Sounds · White Noise — night redesign
   Direction: quiet / bedtime / speaker-night
   World: deep navy from shot-1 · warm amber moonlight accents
   Signature: large speaker-phone hero + soft warm aura (no beige paper, no 01/02/03 steps) */

:root {
  --bg: #07111f;
  --bg-deep: #050c16;
  --surface: #0c1a2c;
  --raised: #122438;
  --ink: #eef3f8;
  --ink-2: #b4c0d0;
  --muted: #7f8fa3;
  --hairline: rgba(238, 243, 248, 0.08);
  --accent: #d4924a;
  --accent-ink: #f0b56a;
  --accent-soft: rgba(212, 146, 74, 0.16);
  --glow: rgba(232, 160, 74, 0.28);
  --shadow: 0 28px 64px rgba(0, 0, 0, 0.45);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --max: 1120px;
  --font: "Outfit", system-ui, -apple-system, sans-serif;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --mono: "Outfit", ui-sans-serif, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .phone-aura,
  .night-glow,
  .warm-dots {
    animation: none !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.55;
  background: var(--bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
  overflow-x: hidden;
}

.night-glow {
  pointer-events: none;
  position: fixed;
  inset: -20% 20% auto -10%;
  height: 70vh;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(212, 146, 74, 0.18), transparent 55%),
    radial-gradient(ellipse at 70% 20%, rgba(60, 110, 180, 0.16), transparent 50%);
  filter: blur(8px);
  z-index: 0;
  animation: glow-drift 14s var(--ease) infinite alternate;
}

.warm-dots {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.45;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 22%, rgba(240, 181, 106, 0.7), transparent),
    radial-gradient(1.5px 1.5px at 78% 18%, rgba(240, 181, 106, 0.45), transparent),
    radial-gradient(1.5px 1.5px at 88% 48%, rgba(240, 181, 106, 0.35), transparent),
    radial-gradient(1.5px 1.5px at 18% 68%, rgba(240, 181, 106, 0.4), transparent),
    radial-gradient(1.5px 1.5px at 62% 82%, rgba(240, 181, 106, 0.3), transparent);
  animation: dots-breathe 8s ease-in-out infinite;
}

@keyframes glow-drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(2%, 3%, 0) scale(1.05);
  }
}

@keyframes dots-breathe {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.55;
  }
}

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

a {
  color: var(--accent-ink);
  text-decoration: none;
}

a:hover {
  color: #ffd19a;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.mono {
  font-family: var(--mono);
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  color: var(--muted);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 17, 31, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 56px;
  padding: 0.5rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--ink);
}

.brand:hover {
  color: var(--ink);
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--display);
  font-weight: 500;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-weight: 500;
  font-size: 0.9375rem;
  line-height: 1;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 160ms var(--ease), color 160ms var(--ease),
    border-color 160ms var(--ease), transform 120ms var(--ease), box-shadow 160ms var(--ease);
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--accent);
  color: #1a1008;
  min-height: 48px;
  padding: 0 1.25rem;
  box-shadow: 0 0 0 1px rgba(240, 181, 106, 0.25), 0 10px 28px rgba(212, 146, 74, 0.22);
}

.btn-primary:hover {
  background: var(--accent-ink);
  color: #1a1008;
}

.btn-nav {
  background: transparent;
  color: var(--ink);
  border-color: var(--hairline);
  min-height: 36px;
  padding: 0 0.875rem;
  font-size: 0.8125rem;
}

.btn-nav:hover {
  background: var(--raised);
  color: var(--ink);
  border-color: rgba(238, 243, 248, 0.16);
}

.btn-play-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .btn-nav {
    display: none;
  }

  .brand-name {
    font-size: 0.8125rem;
    max-width: 14rem;
    line-height: 1.2;
  }
}

/* Hero — one composition, brand first, dominant phone */
.hero {
  padding: 2.25rem 0 4.5rem;
  min-height: calc(100vh - 56px);
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  gap: 2.75rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
    gap: 3.25rem;
  }
}

.hero-brand {
  margin: 0 0 0.4rem;
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 3.35rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--ink);
}

.hero-cn {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--accent-ink);
  letter-spacing: 0.08em;
}

.hero-copy h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.4;
  color: var(--ink-2);
  max-width: 32ch;
}

.hero-sub {
  margin: 0 0 1.75rem;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 34rem;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.hero-note {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--muted);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-aura {
  position: absolute;
  width: min(88%, 420px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow), transparent 68%);
  filter: blur(18px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%);
  animation: aura-pulse 5.5s ease-in-out infinite;
  z-index: 0;
}

@keyframes aura-pulse {
  0%,
  100% {
    opacity: 0.55;
    transform: translate(-50%, -48%) scale(0.96);
  }
  50% {
    opacity: 0.95;
    transform: translate(-50%, -48%) scale(1.06);
  }
}

.phone-stage {
  position: relative;
  z-index: 1;
  margin-inline: auto;
  max-width: min(92vw, 420px);
}

@media (min-width: 900px) {
  .phone-stage {
    max-width: 460px;
    margin-inline: auto 0;
  }
}

.hero-shot {
  width: 100%;
  border-radius: 28px;
  border: 1px solid rgba(238, 243, 248, 0.1);
  box-shadow: var(--shadow);
  background: #02060d;
}

/* Feature bands */
.feature-band {
  padding: 4.5rem 0;
  border-top: 1px solid var(--hairline);
  background: linear-gradient(180deg, transparent, rgba(12, 26, 44, 0.55));
  position: relative;
  z-index: 1;
}

.feature-band-alt {
  background: linear-gradient(180deg, rgba(5, 12, 22, 0.4), transparent);
}

.feature-split {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 800px) {
  .feature-split {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
  }

  .feature-split-flip .feature-copy {
    order: 2;
  }

  .feature-split-flip .feature-shot {
    order: 1;
  }
}

.feature-copy h2 {
  margin: 0 0 0.85rem;
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.feature-copy p {
  margin: 0;
  color: var(--ink-2);
  font-size: 1.0625rem;
  max-width: 36rem;
}

.feature-shot {
  margin: 0;
  max-width: 300px;
  justify-self: center;
}

.feature-shot img {
  width: 100%;
  border-radius: 22px;
  border: 1px solid rgba(238, 243, 248, 0.1);
  box-shadow: var(--shadow);
  background: #02060d;
}

/* Gallery */
.gallery {
  padding: 4rem 0 3rem;
  border-top: 1px solid var(--hairline);
  position: relative;
  z-index: 1;
}

.section-head {
  margin-bottom: 2.25rem;
  max-width: 36rem;
}

.section-head h2 {
  margin: 0 0 0.5rem;
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-head p {
  margin: 0;
  color: var(--ink-2);
  font-size: 1rem;
}

.gallery-row {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  justify-items: center;
}

.gallery-item {
  margin: 0;
  max-width: 240px;
  width: 100%;
}

.gallery-item img {
  width: 100%;
  border-radius: 20px;
  border: 1px solid rgba(238, 243, 248, 0.1);
  box-shadow: var(--shadow);
  background: #02060d;
}

/* Membership */
.membership {
  padding: 1rem 0 3.5rem;
  position: relative;
  z-index: 1;
}

.membership-inner {
  max-width: 40rem;
  padding: 2rem 0 0;
  border-top: 1px solid var(--hairline);
}

.membership-inner h2 {
  margin: 0 0 0.65rem;
  font-family: var(--display);
  font-size: 1.375rem;
  font-weight: 500;
}

.membership-inner p {
  margin: 0;
  color: var(--ink-2);
}

/* Notes */
.notes-section {
  padding: 0 0 3.5rem;
  position: relative;
  z-index: 1;
}

.notes-section h2 {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 500;
}

.notes-list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--ink-2);
  max-width: 44rem;
}

.notes-list li {
  margin-bottom: 0.625rem;
}

.notes-list li:last-child {
  margin-bottom: 0;
}

.notes-list a {
  font-weight: 500;
}

/* Final CTA */
.final-cta {
  padding: 0 0 4rem;
  position: relative;
  z-index: 1;
}

.final-inner {
  text-align: center;
  padding: 3rem 1.5rem;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background:
    radial-gradient(520px 180px at 50% 0%, rgba(212, 146, 74, 0.12), transparent 70%);
}

.final-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 12px;
}

.final-inner h2 {
  margin: 0 0 0.5rem;
  font-family: var(--display);
  font-size: clamp(1.375rem, 2.5vw, 1.85rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.final-inner p {
  margin: 0 0 1.5rem;
  color: var(--ink-2);
}

/* Footer */
.site-footer {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--hairline);
  background: var(--bg-deep);
  position: relative;
  z-index: 1;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--display);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.footer-brand img {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}

.site-footer p {
  margin: 0.25rem 0;
  color: var(--ink-2);
  font-size: 0.875rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
}

.footer-links a {
  font-weight: 500;
  font-size: 0.875rem;
}

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: rise 640ms var(--ease) forwards;
}

.reveal-delay {
  animation-delay: 140ms;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

/* Legal pages */
.privacy-main,
.home-main {
  padding: 2.5rem 0 3.5rem;
  position: relative;
  z-index: 1;
}

.privacy-card,
.home-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  border: 1px solid var(--hairline);
}

@media (min-width: 720px) {
  .privacy-card,
  .home-card {
    padding: 2.25rem 2.5rem 2.5rem;
  }
}

.privacy-card h1,
.home-card h1 {
  margin: 0 0 0.5rem;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.75rem;
  letter-spacing: -0.02em;
}

.privacy-meta {
  color: var(--muted);
  font-size: 0.875rem;
  margin: 0 0 1.25rem;
}

.privacy-card h2 {
  margin: 1.75rem 0 0.65rem;
  font-size: 1.125rem;
  font-weight: 500;
}

.privacy-card h3 {
  font-size: 1rem;
  font-weight: 500;
  margin: 1.15rem 0 0.45rem;
}

.privacy-card p,
.privacy-card li,
.home-card p {
  color: var(--ink-2);
}

.privacy-card ul {
  padding-left: 1.2rem;
  margin: 0.4rem 0 0.8rem;
}

.privacy-card li + li {
  margin-top: 0.35rem;
}

.privacy-card code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.85em;
  background: var(--raised);
  padding: 0.1em 0.35em;
  border-radius: 4px;
  color: var(--accent-ink);
}

.privacy-back {
  display: inline-block;
  margin-top: 1.75rem;
  font-weight: 500;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.page-glow {
  display: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand-sub {
  font-size: 0.75rem;
  color: var(--muted);
}
