:root {
  font-size: 16px;
  --bg-deep: #2c2824;
  --bg-cream: #faf6f0;
  --bg-warm: #f3e8dc;
  --bg-peach: #f0ddd0;
  --bg-soft: #f8f0e6;
  --text-primary: #1e1c1a;
  --text-muted: rgba(30, 28, 26, 0.62);
  --card-bg: #ffffff;
  --accent: #c4a574;
  --accent-strong: #8b7355;
  --outline: rgba(196, 165, 116, 0.35);
}

html {
  background: var(--bg-cream);
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display",
    "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  background-color: var(--bg-cream);
  color: var(--text-primary);
  padding: 0;
  text-align: center;
}

/* Animated warm mesh — shared by index, terms, privacy */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 100% 85% at 50% -8%,
      rgba(255, 245, 235, 0.98),
      transparent 58%
    ),
    radial-gradient(
      ellipse 70% 60% at 5% 45%,
      rgba(255, 218, 200, 0.42),
      transparent 52%
    ),
    radial-gradient(
      ellipse 70% 60% at 95% 55%,
      rgba(220, 210, 195, 0.48),
      transparent 52%
    ),
    linear-gradient(
      128deg,
      #faf6f0 0%,
      #f8ebe4 18%,
      #f3ddcf 36%,
      #efe8de 54%,
      #f0e4d8 72%,
      #f6eee6 88%,
      #faf6f0 100%
    );
  background-size: 130% 130%, 130% 130%, 130% 130%, 220% 220%;
  background-position: 0% 0%, 0% 0%, 0% 0%, 0% 50%;
  animation: gradientShift 26s ease-in-out infinite;
}

@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 0%, 8% 4%, 92% 96%, 0% 45%;
  }
  33% {
    background-position: 4% 6%, 100% 12%, 78% 88%, 85% 20%;
  }
  66% {
    background-position: -4% 4%, 18% 88%, 100% 8%, 100% 75%;
  }
}

.glow {
  position: fixed;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
  z-index: 0;
  pointer-events: none;
  will-change: transform, opacity;
}

.glow-one {
  background: #f5e0d4;
  top: 8%;
  left: 5%;
  animation: glowDriftOne 22s ease-in-out infinite;
}

.glow-two {
  background: #e8d4c4;
  top: 45%;
  right: 8%;
  animation: glowDriftTwo 28s ease-in-out infinite;
  animation-delay: -4s;
}

.glow-three {
  background: #ddd0c0;
  bottom: 12%;
  left: 45%;
  transform: translateX(-50%);
  animation: glowDriftThree 24s ease-in-out infinite;
  animation-delay: -9s;
}

@keyframes glowDriftOne {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.42;
  }
  50% {
    transform: translate(28px, -22px) scale(1.06);
    opacity: 0.55;
  }
}

@keyframes glowDriftTwo {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.4;
  }
  50% {
    transform: translate(-32px, 18px) scale(1.08);
    opacity: 0.54;
  }
}

@keyframes glowDriftThree {
  0%,
  100% {
    transform: translateX(-50%) translate(0, 0) scale(1);
    opacity: 0.38;
  }
  50% {
    transform: translateX(-50%) translate(14px, -26px) scale(1.05);
    opacity: 0.52;
  }
}

@media (prefers-reduced-motion: reduce) {
  body::before {
    animation: none;
    background-position: 0% 0%, 0% 0%, 100% 100%, 40% 50%;
  }

  .glow-one,
  .glow-two,
  .glow-three {
    animation: none;
    opacity: 0.42;
  }

  .glow-three {
    transform: translateX(-50%);
  }
}

/* Hero Section */
.hero {
  position: relative;
  z-index: 1;
  padding: 5rem 1.5rem 4rem;
  max-width: 900px;
  margin: 0 auto;
}

.hero-logo {
  width: 88px;
  border-radius: 24px;
  box-shadow: 0 12px 32px rgba(44, 40, 36, 0.12);
  margin-bottom: 1.5rem;
}

.hero-eyebrow {
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  font-weight: 500;
}

.hero-title {
  margin: 0 0 1.5rem;
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.hero-subtitle {
  margin: 0 auto 2.5rem;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.5;
  color: var(--text-muted);
  max-width: 700px;
}

.btn-hero {
  padding: 1rem 2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  transition: transform 200ms ease, box-shadow 200ms ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--text-primary);
  color: var(--bg-cream);
  box-shadow: 0 10px 28px rgba(44, 40, 36, 0.18);
  border: none;
}

.btn-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(44, 40, 36, 0.22);
}

.btn-hero:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.4);
  outline-offset: 4px;
}

.hero-note {
  display: block;
  margin-top: 1.5rem;
  color: rgba(30, 28, 26, 0.45);
  font-size: 0.9rem;
}

/* Main + preview card */
.features-container {
  position: relative;
  z-index: 1;
  padding: 3rem 1.5rem;
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.preview-section {
  padding: 0;
}

.preview-card {
  background: var(--card-bg);
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 4px 6px rgba(44, 40, 36, 0.04),
    0 22px 48px rgba(44, 40, 36, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.85);
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.preview-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 8px 12px rgba(44, 40, 36, 0.06),
    0 28px 56px rgba(44, 40, 36, 0.12);
}

.preview-image {
  width: 100%;
  overflow: hidden;
  background: linear-gradient(180deg, #f5ebe3 0%, #efe6dc 100%);
  line-height: 0;
}

.preview-image img {
  width: 100%;
  height: auto;
  display: block;
}

.preview-copy {
  padding: 1.75rem 1.5rem 2rem;
  text-align: center;
}

.preview-eyebrow {
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin: 0 0 0.65rem;
  font-weight: 600;
}

.preview-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.65rem, 4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.preview-subtitle {
  margin: 0;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Section */
.cta-section {
  margin: 2rem 0 2rem;
  padding: 0;
}

.cta-card {
  max-width: 700px;
  margin: 0 auto;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.92),
    rgba(248, 242, 235, 0.88)
  );
  border-radius: 32px;
  padding: 4rem 2.5rem;
  box-shadow: 0 24px 56px rgba(44, 40, 36, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
}

.cta-title {
  margin: 0 0 1.5rem;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: 1.2;
  font-weight: 700;
  color: var(--text-primary);
}

.cta-description {
  margin: 0 0 2.5rem;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.6;
  color: var(--text-muted);
}

.btn-cta {
  padding: 1.1rem 2.2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  transition: transform 200ms ease, box-shadow 200ms ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--text-primary);
  color: var(--bg-cream);
  box-shadow: 0 10px 28px rgba(44, 40, 36, 0.18);
  border: none;
}

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(44, 40, 36, 0.24);
}

.btn-cta:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.4);
  outline-offset: 4px;
}

/* Socials */
.socials {
  margin-top: 2.5rem;
  display: inline-flex;
  gap: 0.75rem;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  background: rgba(44, 40, 36, 0.04);
  border: 1px solid rgba(44, 40, 36, 0.08);
}

.socials a {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(44, 40, 36, 0.06);
  color: var(--text-primary);
  transition: background 180ms ease, transform 180ms ease;
}

.socials a:hover {
  background: rgba(44, 40, 36, 0.1);
  transform: translateY(-2px);
}

.socials svg {
  width: 22px;
  height: 22px;
}

/* Footer */
.copyright {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 100;
  text-align: center;
  padding: 1.5rem 1rem;
  color: rgba(44, 40, 36, 0.65);
  font-size: 0.9rem;
  background: rgba(250, 246, 240, 0.82);
  backdrop-filter: blur(15px);
  border-top: 1px solid rgba(44, 40, 36, 0.08);
  transform: translateY(100%);
  transition: transform 400ms ease;
}

.copyright.visible {
  transform: translateY(0);
}

.copyright p {
  margin: 0;
  line-height: 1.8;
}

.legal-links {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.875rem;
}

.legal-links a {
  color: rgba(44, 40, 36, 0.85);
  text-decoration: none;
  font-weight: 600;
  transition: color 150ms ease, text-decoration 150ms ease;
}

.legal-links a:hover {
  color: var(--text-primary);
  text-decoration: underline;
}

.legal-links .separator {
  margin: 0 0.5rem;
  opacity: 0.5;
  color: rgba(44, 40, 36, 0.45);
}

/* Responsive Design */
@media (max-width: 899px) {
  .features-container {
    padding: 2rem 1.5rem;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 3.5rem 1.5rem 3rem;
  }

  .hero-logo {
    width: 76px;
  }

  .features-container {
    padding: 2rem 1rem;
    gap: 1.5rem;
  }

  .cta-section {
    margin: 1.5rem 0 3rem;
  }

  .cta-card {
    padding: 3rem 2rem;
  }

  .btn-hero,
  .btn-cta {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 2.5rem 1rem 2rem;
  }

  .hero-logo {
    width: 68px;
  }

  .features-container {
    gap: 1.25rem;
  }

  .preview-card {
    border-radius: 20px;
  }

  .preview-copy {
    padding: 1.5rem 1.25rem 1.75rem;
  }

  .cta-section {
    margin: 1rem 0 2rem;
  }

  .cta-card {
    padding: 2.5rem 1.5rem;
    border-radius: 28px;
  }
}

