/* =========================================
   RIPPLE — Theme CSS
   ========================================= */

:root {
  --bg: #f5ede3;
  --bg-alt: #ede3d8;
  --teal: #0a3d4a;
  --teal-light: #1a5f73;
  --coral: #e8685a;
  --coral-dark: #c95040;
  --charcoal: #1a1a2e;
  --cream: #faf6f1;
  --muted: #7a7a8a;
  --wave-1: rgba(10, 61, 74, 0.06);
  --wave-2: rgba(10, 61, 74, 0.04);
  --wave-3: rgba(232, 104, 90, 0.05);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--charcoal);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  background: transparent;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: -0.01em;
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 80px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.wave {
  position: absolute;
  border-radius: 50%;
  animation: drift 12s ease-in-out infinite;
}

.wave-1 {
  width: 700px;
  height: 700px;
  top: -150px;
  right: -100px;
  background: radial-gradient(circle, var(--teal) 0%, transparent 70%);
  opacity: 0.08;
  animation-duration: 14s;
}

.wave-2 {
  width: 500px;
  height: 500px;
  bottom: -100px;
  left: 10%;
  background: radial-gradient(circle, var(--coral) 0%, transparent 70%);
  opacity: 0.07;
  animation-duration: 18s;
  animation-delay: -4s;
}

.wave-3 {
  width: 900px;
  height: 900px;
  top: 30%;
  left: 40%;
  background: radial-gradient(circle, var(--teal) 0%, transparent 70%);
  opacity: 0.04;
  animation-duration: 22s;
  animation-delay: -8s;
}

@keyframes drift {
  0%, 100% { transform: scale(1) translate(0, 0); }
  33% { transform: scale(1.05) translate(20px, -15px); }
  66% { transform: scale(0.97) translate(-15px, 10px); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 24px;
}

.hero-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--teal);
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.hero-headline em {
  font-style: italic;
  color: var(--coral);
}

.hero-sub {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--charcoal);
  max-width: 560px;
  font-weight: 300;
}

.hero-badge {
  position: absolute;
  bottom: 40px;
  right: 80px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(10, 61, 74, 0.06);
  padding: 8px 16px;
  border-radius: 40px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.3);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.3); }
  50% { box-shadow: 0 0 0 5px rgba(74, 222, 128, 0.1); }
}

/* ── Manifesto ── */
.manifesto {
  background: var(--teal);
  color: var(--cream);
  padding: 100px 80px;
}

.manifesto-inner {
  max-width: 780px;
  margin: 0 auto;
}

.manifesto-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 24px;
}

.manifesto-statement {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 28px;
  color: var(--cream);
}

.manifesto-body {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(250, 246, 241, 0.75);
  font-weight: 300;
}

/* ── Features ── */
.features {
  padding: 100px 80px;
  background: var(--bg);
}

.features-header {
  margin-bottom: 60px;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 16px;
}

.section-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
  color: var(--teal);
  line-height: 1.2;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--charcoal);
  border: 1px solid var(--charcoal);
  border-radius: 16px;
  overflow: hidden;
}

.feature-card {
  padding: 44px 40px;
  background: var(--cream);
  transition: background 0.2s;
}

.feature-card:hover {
  background: var(--bg-alt);
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: var(--teal);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--coral);
}

.feature-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 10px;
}

.feature-body {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--muted);
  font-weight: 300;
}

/* ── How ── */
.how {
  padding: 100px 80px;
  background: var(--bg-alt);
  border-top: 1px solid rgba(10, 61, 74, 0.1);
}

.how-header {
  margin-bottom: 60px;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}

.how-step {
  position: relative;
}

.step-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(10, 61, 74, 0.1);
  line-height: 1;
  margin-bottom: 16px;
}

.step-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 8px;
}

.step-body {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--muted);
  font-weight: 300;
}

.how-cta {
  border-top: 1px solid rgba(10, 61, 74, 0.1);
  padding-top: 32px;
}

.cta-note {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 300;
  font-style: italic;
}

/* ── Closing ── */
.closing {
  background: var(--teal);
  color: var(--cream);
  padding: 100px 80px;
}

.closing-inner {
  max-width: 800px;
}

.closing-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 24px;
}

.closing-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--cream);
  margin-bottom: 28px;
}

.closing-body {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(250, 246, 241, 0.72);
  font-weight: 300;
}

/* ── Footer ── */
.footer {
  padding: 40px 80px;
  background: var(--charcoal);
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--cream);
}

.footer-tagline {
  font-size: 0.85rem;
  color: rgba(250, 246, 241, 0.4);
  font-weight: 300;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav { padding: 16px 24px; }
  .hero { padding: 100px 24px 60px; }
  .hero-badge { bottom: 24px; right: 24px; }
  .manifesto, .features, .how, .closing { padding: 72px 24px; }
  .features-grid { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer { padding: 32px 24px; flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 2.4rem; }
  .manifesto-statement { font-size: 1.5rem; }
}