body {
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

header {
  background-color: #333;
  color: white;
  padding: 1rem 2rem;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
}

header nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  text-decoration: none;
  color: white;
}

footer {
  background-color: #333;
  color: white;
  padding: 1rem;
}

footer nav {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

footer nav {
  justify-content: center;
}

header a, footer a {
  color: white;
  text-decoration: none;
}

header a:hover, footer a:hover {
  text-decoration: underline;
}

.signup-button {
  background-color: white;
  color: #333 !important;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-weight: bold;
}

.signup-button:hover {
  background-color: #eee;
  text-decoration: none !important;
}

.hero-button {
  display: inline-block;
  background-color: #333;
  color: white !important;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: bold;
  text-decoration: none;
  margin-top: 1rem;
}

.hero-button:hover {
  background-color: #555;
  text-decoration: none !important;
}

.cta-container {
  display: flex;
  justify-content: center;
  margin-top: 4rem;
  margin-bottom: 2rem;
}

.feature-step {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  align-items: flex-start;
}

.feature-image {
  flex: 0 0 225px;
}

.feature-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  background-color: #ddd; /* Fallback/Placeholder color */
}

.feature-image-large {
  flex: 0 0 300px;
}

.feature-image-large img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  background-color: #ddd;
}

.feature-content {
  flex: 1;
}

.feature-content h2, .feature-content h3 {
  margin-top: 0;
}

main {
  flex: 1;
  padding: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

main p, main li {
  font-size: 1.15rem;
  line-height: 1.6;
}

h1, h2 {
  color: #333;
}

.hero-block {
  text-align: center;
  padding: 3rem 0;
  margin-bottom: 2rem;
}

.hero-block h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.hero-block p {
  font-size: 1.4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Auth / Sign Up Styles */
.auth-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.auth-popup {
  background: white;
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 500px;
  text-align: center;
}

.auth-popup h1 {
  margin-top: 0;
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.auth-input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  box-sizing: border-box;
}

textarea.auth-input {
  resize: vertical;
  min-height: 100px;
  font-family: inherit;
}

.auth-submit {
  width: 100%;
  padding: 0.75rem;
  background-color: #333;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  margin-top: 0.5rem;
}

.auth-submit:hover {
  background-color: #555;
}

.auth-submit:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

.auth-footer {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: #666;
}

.auth-footer a {
  color: #333;
  text-decoration: underline;
}

.quote-block {
  font-style: italic;
  border-left: 4px solid #333;
  padding-left: 1rem;
  margin-top: 1rem;
  color: #555;
}

.quote-author {
  display: block;
  margin-top: 0.5rem;
  font-weight: bold;
  font-style: normal;
  color: #333;
}

/* Action Section Styles */
.action-section {
  margin-bottom: 4rem;
}

.action-header {
  color: #333;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

.action-main-row {
  margin-bottom: 4rem;
}

.action-stat-text {
  font-size: 1.8rem;
  color: #333;
  line-height: 1.3;
  margin-bottom: 2rem;
  max-width: 75%;
}

.action-graph {
  width: 350px;
  margin-left: auto;
  margin-right: 100px;
}

.action-graph img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.testimonial-row {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.quote-icon {
  font-size: 8rem;
  color: #333;
  line-height: 0.5;
  font-family: Georgia, serif;
  opacity: 0.8;
}

.testimonial-content {
  flex: 2;
}

.testimonial-text {
  font-size: 1.1rem;
  color: #444;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.author-info {
  flex: 0 0 150px;
  text-align: left;
}

.author-info.text-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  flex: 1;
  margin-bottom: 2rem;
}

.author-avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  background-color: #ddd;
}

.author-name {
  font-weight: bold;
  color: #333;
  display: block;
  font-size: 1.1rem;
}

.author-title {
  font-size: 0.95rem;
  color: #666;
  display: block;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.grid-item {
  background-color: #f9f9f9;
  padding: 1.5rem;
  border-radius: 8px;
}

.grid-item h2 {
  margin-top: 0;
}

.call-to-action {
  margin-top: 2rem;
  padding: 2rem;
  background-color: #f9f9f9;
  border-radius: 8px;
  text-align: center;
}

.other-jams {
  margin-top: 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.other-jams h2 {
  color: #333;
  margin-bottom: 1rem;
}

.other-jams-link {
  margin-top: 0.5rem;
  text-align: left;
}

.other-jams-link a {
  margin-left: 1rem;
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 1.4rem;
  color: #333;
  text-decoration: none;
  font-style: italic;
}

.other-jams-link a:hover {
  text-decoration: underline;
}

a {
  color: gray;
}

.back-link {
  display: block;
  margin-bottom: 3rem;
  color: #666;
  text-decoration: none;
}

.back-link:hover {
  text-decoration: underline;
}

.recipe-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.recipe-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recipe-layout {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  margin-top: 2rem;
}

.recipe-embed {
  flex: 0 0 400px;
}

.recipe-content {
  flex: 1;
}

@media (max-width: 768px) {
  .feature-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }

  .feature-image {
    order: -1;
    flex: none;
    width: 100%;
    max-width: 300px;
    margin-bottom: 1rem;
  }

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

  .action-main-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .action-stat-text {
    max-width: 100%;
    font-size: 1.5rem;
  }

  .action-graph {
    width: 100%;
    margin: 0;
  }

  .testimonial-row {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .quote-icon {
    font-size: 5rem;
    padding-left: 0.5rem;
    flex: 0 0 auto;
  }

  .testimonial-content {
    flex: 1;
    min-width: 200px;
  }

  .author-info {
    flex: 0 0 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    text-align: left;
  }

  .author-avatar {
    width: 80px;
    height: 80px;
    margin-bottom: 0;
  }

  .recipe-layout {
    flex-direction: column;
    align-items: center;
  }

  .recipe-embed {
    width: 100%;
    display: flex;
    justify-content: center;
  }
}

/* Minimal Renderer Styles */
.minimal-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: #f5f5f5;
}

.minimal-body header {
  background-color: transparent;
  padding: 1rem 2rem;
}

.minimal-body .logo {
  color: #333;
}

.minimal-body footer {
  background-color: transparent;
  color: #333;
  padding: 1rem 1rem;
}

.minimal-body footer a {
  color: #333;
}
