:root {
  --sand: #F4E6D4;
  --clay-red: #A84B2A;
  --dark-olive: #4B6150;
  --muted-blue: #6B8C92;
  --peach: #E3C3A2;
  --olive-green: #6D7B54;
  --pale-gold: #F2D6A1;
  --deep-brown: #3B2B24;
  --sand-light: rgba(244, 230, 212, 0.8);
  --sand-dark: rgba(244, 230, 212, 0.95);
  --clay-red-light: rgba(168, 75, 42, 0.12);
  --deep-brown-light: rgba(59, 43, 36, 0.7);
}

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

body {
  font-family: 'Alegreya', serif;
  line-height: 1.6;
  background-color: var(--sand);
  color: var(--deep-brown);
  overflow-x: hidden;
}

.container {
  display: flex;
  min-height: 100vh;
}

.content-side {
  flex: 1;
  padding: 2rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, var(--sand) 0%, var(--peach) 100%);
  position: relative;
}

.content-wrapper {
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
}

/* HEADER */
.header-row {
  display: flex;
  align-items: flex-start;
  gap: 1.7rem;
  margin-bottom: 2.2rem;
}

.logo {
  width: 84px;
  height: 84px;
  object-fit: contain;
}

.brand-name {
  font-family: 'Alegreya', serif;
  font-size: 3.1rem;
  font-weight: 700;
  color: var(--dark-olive);
  letter-spacing: -0.03em;
  line-height: 1;
}

.header-claim {
  font-family: 'Alegreya', serif;
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--dark-olive);
  margin-top: 0.25em;
  line-height: 1.1;
}

/* MAIN */
.main-heading {
  font-family: 'Alegreya Sans SC', sans-serif;
  font-size: clamp(1.8rem, 4vw + 1.2rem, 2.4rem);
  font-weight: 700;
  color: var(--clay-red);
  margin-bottom: 1rem;
  line-height: 1.15;
  text-align: left;
  word-break: break-word;
}
.main-heading .nowrap {
  white-space: nowrap;
}

.punch-line {
  font-family: 'Alegreya Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--deep-brown);
  margin-bottom: 0.7rem;
  line-height: 1.4;
}

.subtitle {
  font-family: 'Alegreya Sans', sans-serif;
  font-size: 1.3rem;
  color: var(--deep-brown);
  margin-bottom: 1rem;
  line-height: 1.6;
  text-align: left;
  font-weight: 500;
}

/* Animated features-list checks */
@keyframes checkFadeIn {
  from { opacity: 0; transform: translateY(24px);}
  to { opacity: 1; transform: translateY(0);}
}

.features-list {
  font-family: 'Alegreya Sans SC', sans-serif;
  list-style: none;
  margin-bottom: 2rem;
  padding: 0;
  color: var(--dark-olive);
}
.features-list li {
  font-size: 1rem;
  color: var(--dark-olive);
  margin-bottom: 0.8rem;
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.4;
  opacity: 0;
  animation: checkFadeIn 0.6s ease-out forwards;
}
.features-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--clay-red);
  font-weight: bold;
  font-size: 1.2rem;
}
.features-list li:nth-child(1) { animation-delay: 0.2s;}
.features-list li:nth-child(2) { animation-delay: 0.45s;}
.features-list li:nth-child(3) { animation-delay: 0.7s;}
.features-list li:nth-child(4) { animation-delay: 0.95s;}
.features-list li:nth-child(5) { animation-delay: 1.2s;}

.form-group { margin-bottom: 1rem; }

.email-input {
  width: 100%;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-family: 'Alegreya Sans', sans-serif;
  border: 2px solid var(--muted-blue);
  border-radius: 8px;
  background-color: var(--pale-gold);
  color: var(--deep-brown);
  transition: all 0.3s ease;
}
.email-input:focus {
  outline: none;
  border-color: var(--clay-red);
  box-shadow: 0 0 0 3px var(--clay-red-light);
}
.email-input::placeholder {
  color: var(--dark-olive);
  font-weight: 500;
  opacity: 1;
}

.subscribe-btn {
  width: 100%;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 700;
  font-family: 'Alegreya Sans SC', sans-serif;
  background-color: #6B8C92;
  color: var(--sand);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}
.subscribe-btn:hover {
  background-color: var(--deep-brown);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--deep-brown-light);
}

.feedback {
  font-family: 'Alegreya Sans SC', sans-serif;
  margin-top: 0.5rem;
  padding: 0.75rem;
  border-radius: 6px;
  font-weight: 500;
  text-align: center;
  min-height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feedback.success {
  background-color: var(--olive-green);
  color: var(--sand);
}
.feedback.error {
  background-color: var(--clay-red);
  color: var(--sand);
}
.feedback.loading {
  background-color: var(--muted-blue);
  color: var(--sand);
}
.signup-note {
  font-family: 'Alegreya Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--dark-olive);
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  font-weight: 500;
  text-align: left;
  line-height: 1.4;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 1.2rem;
}
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: var(--muted-blue);
  color: var(--sand);
  border-radius: 50%;
  text-decoration: none;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}
.social-link:hover {
  background-color: var(--clay-red);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px var(--clay-red-light);
}

/* Copyright Section */
.copyright-section {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
}
.copyright-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.copyright-logo {
  width: 45px;
  height: 45px;
  object-fit: contain;
}
.copyright-name {
  font-family: 'Alegreya', serif;
  font-weight: 600;
  color: var(--dark-olive);
  font-size: 1rem;
}
.copyright-text {
  font-family: 'Alegreya Sans SC', sans-serif;
  font-size: 0.9rem;
  color: var(--olive-green);
}

/* Right Side - Illustration */
.illustration-side {
  flex: 1;
  background-image: url('/landing/images/landing_illustration.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}
.illustration-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--deep-brown-light) 0%, transparent 50%);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }
  .content-side {
    padding: 2rem 1.5rem;
    min-height: 70vh;
  }
  .illustration-side {
    min-height: 30vh;
  }
  .main-heading {
    font-size: 2.2rem;
  }
  .subtitle {
    font-size: 1.1rem;
  }
  .header-row {
    gap: 1.2rem;
    margin-bottom: 1.3rem;
  }
  .logo {
    width: 60px;
    height: 60px;
  }
  .brand-name {
    font-size: 2.2rem;
  }
  .header-claim {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .content-side {
    padding: 1.5rem 1rem;
  }
  .main-heading {
    font-size: 1.6rem;
  }
  .subtitle {
    font-size: 1rem;
  }
  .social-link {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px);}
  to { opacity: 1; transform: translateY(0);}
}
.content-wrapper > * {
  animation: fadeInUp 0.8s ease-out;
  animation-fill-mode: both;
}
.content-wrapper > *:nth-child(1) { animation-delay: 0.1s; }
.content-wrapper > *:nth-child(2) { animation-delay: 0.2s; }
.content-wrapper > *:nth-child(3) { animation-delay: 0.3s; }
.content-wrapper > *:nth-child(4) { animation-delay: 0.4s; }
.content-wrapper > *:nth-child(5) { animation-delay: 0.5s; }
.content-wrapper > *:nth-child(6) { animation-delay: 0.6s; }
