:root {
  --bg: #faf7f5; /* Page background gradient start */
  --card: #ffffff; /* Card / main content background */
  --accent: #b86b77; /* Primary accent color */
  --accent-soft: #f2d7db; /* Soft accent color */
  --footer-bg: #f0e5c7; /* Soft light beige for footer */
  --text: #1f1f1f; /* Main text color */
  --muted: #6f6f6f; /* Muted / secondary text */
  --radius: 18px; /* Default border radius */
  --shadow: rgba(0, 0, 0, 0.08); /* Subtle shadow for cards */
}

/* ===============================
   Global Styles
   =============================== */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg), #ffffff);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 32px 20px;
}

header {
  display: flex;
  align-items: center;
  margin-bottom: 48px;
}

.brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 500;
}

/* ===============================
   Hero Section
   =============================== */
.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  margin-bottom: 32px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: 0 4px 12px var(--shadow);
  padding: 32px;
}

/* ===============================
   Hero / Subscribe Section Spacing
   =============================== */
.hero-left p {
  line-height: 1.8; /* more breathing room between lines */
  margin-bottom: 16px; /* space after each paragraph */
}

.hero-left p + p {
  margin-top: 16px; /* extra spacing between first and second paragraph */
}

.subscribe {
  display: flex;
  flex-direction: column;
  gap: 20px; /* increased space between input/button and trust text */
}

/* ===============================
   Subscribe Form
   =============================== */
.subscribe input {
  flex: 1;
  padding: 14px 16px;
  border-radius: 999px;
  border: 1px solid #ddd;
  font-size: 0.95rem;
}

.subscribe button {
  padding: 14px 22px;
  border-radius: 999px;
  border: none;
  background: var(--accent);
  color: #fff;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s;
}

.subscribe button:hover {
  opacity: 0.9;
}

.trust {
  font-size: 0.85rem;
  color: var(--muted);
}

.status {
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--accent);
}

/* ===============================
   Cards / Side Sections
   =============================== */
.card,
.side-card {
  background-color: var(--accent-soft); /* pink background */
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 4px 12px var(--shadow); /* subtle pop effect */
}

.side-card h3 {
  margin-top: 0;
  font-family: 'Playfair Display', serif;
  font-weight: 500;
}

.side-card ul {
  padding-left: 18px;
  margin: 0;
}

.side-card li {
  margin-bottom: 10px;
  color: #3a3a3a;
}

/* ===============================
   About Section
   =============================== */
.about {
  max-width: 720px;
  margin: 64px auto 0;
  text-align: center;
}

.about h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  margin-bottom: 12px;
}

/* ===============================
   Footer Section
   =============================== */
footer {
  width: 100%;
  background-color: var(--card); /* white footer background */
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  gap: 24px;
  box-sizing: border-box;
  border-top: 1px solid #eee; /* gray divider line at top */
  color: var(--text); /* main text color */
}

/* Footer content vertical stack */
.footer-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* Instagram icon in footer */
.footer-main a.footer-ig {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.footer-main a.footer-ig svg {
  stroke: var(--accent); /* pink outlines */
  fill: #ffffff; /* white background inside the icon */
  width: 48px;
  height: 48px;
}

/* Responsive adjustments */
@media (max-width: 700px) {
  footer {
    padding: 30px 20px;
    gap: 16px;
  }

  .footer-main {
    gap: 12px;
  }

  .hero {
    grid-template-columns: 1fr; /* stack hero-left and side-card vertically */
    gap: 24px; /* spacing between stacked sections */
    padding: 32px; /* maintain padding on mobile */
  }

  .side-card {
    padding: 24px; /* slightly smaller padding on mobile */
  }
}
