/* ─────────────────────────────────────────
   Reset & Custom Properties
───────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg:           #0B0B0B;
  --surface:      #111111;
  --text:         #F0EDE8;
  --text-muted:   #6B6B6B;
  --text-dim:     #3A3A3A;
  --accent:       #8BAF85;
  --accent-hover: #A0C49A;
  --border:       #1E1E1E;
  --border-mid:   #2A2A2A;

  --font: 'Space Grotesk', system-ui, -apple-system, sans-serif;

  --max-w:  1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);

  --section-v: clamp(5rem, 10vw, 9rem);
}

/* ─────────────────────────────────────────
   Base
───────────────────────────────────────── */
html {
  scroll-behavior: smooth;
}

body {
  background:              var(--bg);
  color:                   var(--text);
  font-family:             var(--font);
  font-size:               1rem;
  line-height:             1.65;
  -webkit-font-smoothing:  antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x:              hidden;
}

a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
img { display: block; }

/* ─────────────────────────────────────────
   Typography
───────────────────────────────────────── */
h1 {
  font-size:      clamp(2.8rem, 7vw, 5.5rem);
  font-weight:    300;
  line-height:    1.05;
  letter-spacing: -0.03em;
}

h2 {
  font-size:      clamp(1.8rem, 3.5vw, 3rem);
  font-weight:    300;
  line-height:    1.15;
  letter-spacing: -0.025em;
}

/* ─────────────────────────────────────────
   Layout
───────────────────────────────────────── */
.container {
  width:      100%;
  max-width:  var(--max-w);
  margin:     0 auto;
  padding:    0 var(--gutter);
}

section {
  padding:    var(--section-v) 0;
  border-top: 1px solid var(--border);
}

#hero {
  border-top: none;
}

/* ─────────────────────────────────────────
   Navigation
───────────────────────────────────────── */
#nav {
  position:        fixed;
  inset:           0 0 auto 0;
  z-index:         100;
  display:         flex;
  justify-content: space-between;
  align-items:     center;
  padding:         1.5rem var(--gutter);
  transition:      background 0.4s ease, backdrop-filter 0.4s ease;
}

#nav.scrolled {
  background:         rgba(11, 11, 11, 0.88);
  backdrop-filter:    blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav-logo {
  font-size:      0.78rem;
  font-weight:    500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition:     opacity 0.2s ease;
}

.nav-logo:hover { opacity: 0.5; }

.nav-links {
  display:     flex;
  gap:         2.5rem;
  align-items: center;
}

.nav-links a {
  font-size:      0.78rem;
  color:          var(--text-muted);
  letter-spacing: 0.04em;
  transition:     color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:last-child {
  color: var(--text);
}

/* ─────────────────────────────────────────
   Hero
───────────────────────────────────────── */
#hero {
  position:   relative;
  min-height: 100svh;
  display:    flex;
  align-items: center;
  overflow:   hidden;
}

.hero-content {
  position:   relative;
  z-index:    2;
  padding-top: 6rem;
  max-width:  680px;
}

.hero-eyebrow {
  font-size:      0.72rem;
  color:          var(--text-muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom:  2rem;
  animation:      fadeUp 0.9s ease both 0.1s;
}

.hero-content h1 {
  margin-bottom: 2rem;
  animation:     fadeUp 0.9s ease both 0.25s;
}

.hero-sub {
  font-size:     clamp(1rem, 1.6vw, 1.15rem);
  color:         var(--text-muted);
  line-height:   1.75;
  margin-bottom: 3rem;
  max-width:     48ch;
  animation:     fadeUp 0.9s ease both 0.4s;
}

.hero-ctas {
  display:     flex;
  gap:         1rem;
  flex-wrap:   wrap;
  animation:   fadeUp 0.9s ease both 0.55s;
}

/* ─── Ambient Pulse Visual ─── */
.pulse-visual {
  position:       absolute;
  right:          -4vw;
  top:            50%;
  transform:      translateY(-50%);
  width:          min(55vw, 580px);
  aspect-ratio:   1;
  pointer-events: none;
  z-index:        1;
}

.pulse-visual-img {
  width:     100%;
  height:    100%;
  display:   block;
  animation: breathe 6.5s ease-in-out infinite;
}

/* ─────────────────────────────────────────
   Buttons
───────────────────────────────────────── */
.btn {
  display:     inline-flex;
  align-items: center;
  gap:         0.45rem;
  padding:     0.85rem 1.6rem;
  font-family: var(--font);
  font-size:   0.8rem;
  font-weight: 400;
  letter-spacing: 0.025em;
  border:      1px solid transparent;
  border-radius: 2px;
  cursor:      pointer;
  white-space: nowrap;
  transition:  background 0.2s ease, color 0.2s ease,
               border-color 0.2s ease, transform 0.2s ease,
               opacity 0.2s ease;
}

.btn--sm {
  padding:   0.65rem 1.25rem;
  font-size: 0.76rem;
}

.btn--primary {
  background:   var(--accent);
  color:        #0B0B0B;
  border-color: var(--accent);
}

.btn--primary:hover {
  background:   var(--accent-hover);
  border-color: var(--accent-hover);
  transform:    translateY(-2px);
}

.btn--ghost {
  background:   transparent;
  color:        var(--text);
  border-color: var(--border-mid);
}

.btn--ghost:hover {
  border-color: var(--text-muted);
  transform:    translateY(-2px);
}

.btn--outline {
  background:   transparent;
  color:        var(--accent);
  border-color: rgba(139, 175, 133, 0.45);
}

.btn--outline:hover {
  background:   var(--accent);
  color:        #0B0B0B;
  border-color: var(--accent);
  transform:    translateY(-2px);
}

/* ─────────────────────────────────────────
   Section Label
───────────────────────────────────────── */
.section-label {
  display:        block;
  font-size:      0.68rem;
  color:          var(--text-muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom:  2.5rem;
}

/* ─────────────────────────────────────────
   About
───────────────────────────────────────── */
.about-text {
  font-size:      clamp(1.2rem, 2.5vw, 1.75rem);
  font-weight:    300;
  line-height:    1.65;
  letter-spacing: -0.01em;
  max-width:      56ch;
}

/* ─────────────────────────────────────────
   Pulse Section
───────────────────────────────────────── */
.pulse-section-grid {
  display:               grid;
  grid-template-columns: 1fr 1fr;
  gap:                   clamp(3rem, 8vw, 8rem);
  align-items:           start;
}

.pulse-intro {
  position: sticky;
  top:      120px;
}

.pulse-intro h2 {
  margin-bottom: 1rem;
}

.pulse-desc {
  font-size:     0.95rem;
  color:         var(--text-muted);
  line-height:   1.75;
  margin-bottom: 2.5rem;
  max-width:     34ch;
}

/* ─── Differentiation block ─── */
.diff-block {
  margin-top:  2.5rem;
  padding-top: 2rem;
  border-top:  1px solid var(--border);
}

.diff-title {
  font-size:      0.72rem;
  color:          var(--text-muted);
  letter-spacing: 0.06em;
  margin-bottom:  1rem;
  max-width:      none;
}

.diff-list {
  list-style: none;
}

.diff-list li {
  font-size:   0.9rem;
  color:       var(--text-dim);
  padding:     0.45rem 0;
  border-bottom: 1px solid var(--border);
  transition:  color 0.2s ease;
}

.diff-list li:first-child {
  border-top: 1px solid var(--border);
}

.diff-list li:hover {
  color: var(--text-muted);
}

.diff-list--contrast {
  color: var(--text-muted) !important;
}

/* ─────────────────────────────────────────
   Features list
───────────────────────────────────────── */
.features-list {
  display:        flex;
  flex-direction: column;
  padding-top:    0.25rem;
}

.feature-item {
  padding:     1.1rem 0;
  border-bottom: 1px solid var(--border);
  font-size:   0.93rem;
  color:       var(--text-muted);
  display:     flex;
  align-items: center;
  gap:         0.8rem;
  transition:  color 0.25s ease, padding-left 0.25s ease;
}

.feature-item:first-child {
  border-top: 1px solid var(--border);
}

.feature-item::before {
  content:      '';
  width:        3px;
  height:       3px;
  border-radius: 50%;
  background:   var(--accent);
  flex-shrink:  0;
  opacity:      0.6;
  transition:   opacity 0.25s ease;
}

.feature-item:hover {
  color:        var(--text);
  padding-left: 0.4rem;
}

.feature-item:hover::before {
  opacity: 1;
}

/* ─────────────────────────────────────────
   Design Principles
───────────────────────────────────────── */
.principles-grid {
  display:               grid;
  grid-template-columns: repeat(2, 1fr);
  gap:                   1px;
  background:            var(--border);
  border:                1px solid var(--border);
  margin-top:            0;
}

.principle-item {
  background: var(--bg);
  padding:    clamp(2rem, 4vw, 3.5rem);
  transition: background 0.3s ease;
}

.principle-item:hover {
  background: var(--surface);
}

.principle-number {
  display:        block;
  font-size:      0.63rem;
  color:          var(--accent);
  letter-spacing: 0.16em;
  margin-bottom:  2rem;
  opacity:        0.75;
}

.principle-text {
  font-size:      clamp(1rem, 1.8vw, 1.25rem);
  font-weight:    300;
  line-height:    1.4;
  letter-spacing: -0.01em;
  max-width:      20ch;
}

/* ─────────────────────────────────────────
   Future
───────────────────────────────────────── */
.future-text {
  font-size:      clamp(1.2rem, 2.5vw, 1.75rem);
  font-weight:    300;
  line-height:    1.65;
  letter-spacing: -0.01em;
  color:          var(--text-muted);
  max-width:      55ch;
}

.future-text em {
  font-style: normal;
  color:      var(--text);
}

/* ─────────────────────────────────────────
   Collaboration
───────────────────────────────────────── */
.collab-text {
  font-size:     clamp(1.1rem, 2vw, 1.45rem);
  font-weight:   300;
  color:         var(--text-muted);
  line-height:   1.7;
  max-width:     46ch;
  margin-bottom: 2.5rem;
  letter-spacing: -0.005em;
}

/* ─────────────────────────────────────────
   Waitlist
───────────────────────────────────────── */
.waitlist-label {
  font-size:      0.78rem;
  color:          var(--text-muted);
  letter-spacing: 0.04em;
  margin-bottom:  1.25rem;
}

.form-row {
  display:   flex;
  max-width: 420px;
}

.form-input {
  flex:          1;
  min-width:     0;
  background:    var(--surface);
  border:        1px solid var(--border);
  border-right:  none;
  color:         var(--text);
  padding:       0.85rem 1rem;
  font-family:   var(--font);
  font-size:     0.82rem;
  outline:       none;
  border-radius: 2px 0 0 2px;
  transition:    border-color 0.2s ease;
}

.form-input::placeholder {
  color: var(--text-dim);
}

.form-input:focus {
  border-color: var(--accent);
}

.form-row .btn {
  border-radius: 0 2px 2px 0;
  flex-shrink:   0;
}

.form-message {
  margin-top: 1rem;
  font-size:  0.76rem;
  color:      var(--accent);
  min-height: 1.2em;
  opacity:    0;
  transform:  translateY(5px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.form-message.show {
  opacity:   1;
  transform: translateY(0);
}

/* ─────────────────────────────────────────
   Footer
───────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding:    2.5rem 0;
}

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

.footer-logo {
  font-size:      0.75rem;
  font-weight:    500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color:          var(--text-muted);
}

.footer-links {
  display: flex;
  gap:     2rem;
}

.footer-links a {
  font-size:  0.75rem;
  color:      var(--text-muted);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--text);
}

/* ─────────────────────────────────────────
   Legal Pages (Privacy, Terms)
───────────────────────────────────────── */
.legal-page {
  padding-top:    calc(var(--section-v) + 2rem);
  padding-bottom: var(--section-v);
}

.legal-content {
  max-width: 680px;
}

.legal-meta {
  font-size:      0.72rem;
  color:          var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom:  1.5rem;
}

.legal-content h1 {
  font-size:      clamp(2rem, 4vw, 3rem);
  font-weight:    300;
  letter-spacing: -0.025em;
  margin-bottom:  2rem;
}

.legal-intro {
  font-size:     1.05rem;
  color:         var(--text-muted);
  line-height:   1.75;
  margin-bottom: var(--section-v);
  max-width:     none;
}

.legal-section {
  padding-top:   2.5rem;
  border-top:    1px solid var(--border);
  margin-bottom: 2.5rem;
}

.legal-section h2 {
  font-size:      1rem;
  font-weight:    500;
  letter-spacing: 0.02em;
  margin-bottom:  1.25rem;
  color:          var(--text);
}

.legal-section h3 {
  font-size:      0.82rem;
  font-weight:    500;
  color:          var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top:     1.5rem;
  margin-bottom:  0.75rem;
}

.legal-section p {
  font-size:     0.92rem;
  color:         var(--text-muted);
  line-height:   1.8;
  margin-bottom: 1rem;
  max-width:     none;
}

.legal-section a {
  color:       var(--accent);
  transition:  opacity 0.2s ease;
}

.legal-section a:hover {
  opacity: 0.7;
}

.legal-list {
  list-style:    none;
  margin-bottom: 1rem;
}

.legal-list li {
  font-size:     0.92rem;
  color:         var(--text-muted);
  line-height:   1.8;
  padding:       0.4rem 0;
  padding-left:  1.25rem;
  position:      relative;
}

.legal-list li::before {
  content:    '—';
  position:   absolute;
  left:       0;
  color:      var(--text-dim);
}

/* ─────────────────────────────────────────
   Keyframes
───────────────────────────────────────── */
@keyframes fadeUp {
  from {
    opacity:   0;
    transform: translateY(18px);
  }
  to {
    opacity:   1;
    transform: translateY(0);
  }
}

@keyframes breathe {
  0%, 100% { transform: scale(1);     opacity: 0.8; }
  50%       { transform: scale(1.045); opacity: 1;   }
}

/* ─────────────────────────────────────────
   Scroll-triggered Fade-up
───────────────────────────────────────── */
.fade-up {
  opacity:    0;
  transform:  translateY(18px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.fade-up.visible {
  opacity:   1;
  transform: translateY(0);
}

.fade-delay-1 { transition-delay: 0.1s; }
.fade-delay-2 { transition-delay: 0.2s; }
.fade-delay-3 { transition-delay: 0.3s; }

/* ─────────────────────────────────────────
   Responsive
───────────────────────────────────────── */
@media (max-width: 900px) {
  .pulse-visual {
    right:   -18vw;
    width:   75vw;
    opacity: 0.4;
  }

  .pulse-section-grid {
    grid-template-columns: 1fr;
  }

  .pulse-intro {
    position: static;
  }
}

@media (max-width: 640px) {
  .pulse-visual {
    width:   95vw;
    right:   -25vw;
    opacity: 0.18;
  }

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

  .hero-ctas {
    flex-direction: column;
    align-items:    flex-start;
  }

  .principles-grid {
    grid-template-columns: 1fr;
  }

  .nav-links { gap: 1.5rem; }

  .form-row {
    flex-direction: column;
    max-width:      100%;
  }

  .form-input {
    border-right:  1px solid var(--border);
    border-bottom: none;
    border-radius: 2px 2px 0 0;
  }

  .form-row .btn {
    border-radius: 0 0 2px 2px;
    width:         100%;
    justify-content: center;
  }

  .footer-inner {
    flex-direction: column;
    align-items:    flex-start;
  }
}
