/* Root variables for color themes and reusable design tokens */
:root {
  --dark: #1e3d2f;
  --slate: #2f4f3e;
  --cream: #fefefe;
  --tan: #d6c8b0;
  --brown: #7b5e3a;
  --feature1: #ffffff;
  --feature2: #f4f4f0;
  --feature3: #e8e8e2;
}

/* Ensure all elements use border-box model */
* {
  box-sizing: border-box;
}
/* Basic body styling: font, background, color */
body {
  font-family: "Inter", "Playfair Display", "Segoe UI", Tahoma, Geneva,
    sans-serif;
  margin: 0;
  padding: 60px 0 0;
  background-color: var(--cream);
  color: var(--dark);
}

/* Navigation bar styling */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(245, 243, 235, 0.95);
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 999;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  font-family: "Inter", "Playfair Display", "Segoe UI", Tahoma, Geneva,
    sans-serif;
}
nav img {
  height: 40px;
}
nav a {
  margin-left: 20px;
  text-decoration: none;
  color: var(--dark);
  font-weight: 600;
  transition: color 0.3s ease, transform 0.2s ease;
}
nav a:hover {
  color: var(--brown);
  transform: scale(1.1);
}

/* Hero section styling: background image, text alignment */
.hero {
  background: linear-gradient(rgba(10, 9, 8, 0.4), rgba(10, 9, 8, 0.4)),
    url("images/background.png") center/cover no-repeat;
  color: var(--cream);
  text-align: center;
  padding: 140px 20px 100px;

  opacity: 0;
  transform: translateY(20px);
  transition: opacity 3s ease-out, transform 3s ease-out;
}
.hero img {
  max-width: 240px;
  margin-bottom: 16px;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 3s ease-out, transform 3s ease-out;
}
.hero h1 {
  font-size: 3.2em;
  font-weight: 700;
  margin-bottom: 0.3em;
}

.hero button,
.newsletter button {
  font-weight: bold;
  padding: 14px 28px;
  font-size: 1em;
  background-color: var(--tan);
  color: var(--dark);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: "Inter", "Playfair Display", "Segoe UI", Tahoma, Geneva,
    sans-serif;
  transition: background-color 0.3s, transform 0.2s;
}

.hero button:hover,
.newsletter button:hover{
  background-color: var(--slate);
  color: var(--cream);
  transform: scale(1.05);
}

/* General section layout */
.section {
  padding: 60px 20px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.section p {
  font-size: 1.1em;
  color: var(--slate);
  max-width: 700px;
  margin: 0 auto 40px;
}

/* Features container layout */
.features {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

/* Individual feature card styling */
.feature {
  flex: 1;
  min-width: 280px;
  background: var(--feature2);
  border-radius: 12px;
  padding: 30px 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}
.feature:hover {
  transform: translateY(-5px);
}
.feature h3 {
  color: var(--brown);
  margin-bottom: 10px;
}

/* Contact section styling */
.contact {
  background-color: var(--dark);
  color: var(--cream);
  padding: 40px 20px;
}
.contact a {
  color: var(--tan);
}
.scenario-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}
.scenario-item {
  background: var(--feature3);
  border-radius: 10px;
  padding: 20px;
  width: 220px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}
.scenario-item:hover {
  transform: translateY(-5px);
}

/* Newsletter section container */
.newsletter-container {
  background-color: var(--feature2);
  border-radius: 12px;
  padding: 40px 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* Section heading style */
.heading-lg {
  color: var(--dark);
  font-size: 2em;
  margin-bottom: 10px;
}

/* Section subtext style */
.subtext {
  font-size: 1.1em;
  color: var(--slate);
  margin-bottom: 30px;
}

/* Contact section subtext */
.contact-subtext {
  font-size: 1.1em;
  margin-bottom: 20px;
}

/* Contact links */
.contact a {
  color: var(--tan);
  text-decoration: underline;
}

/* Newsletter form layout */
.newsletter-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* Language toggle button */
.lang-toggle {
  padding: 6px 12px;
  border-radius: 6px;
  background-color: var(--tan);
  border: none;
  cursor: pointer;
}

/* Navigation layout spacing */
.nav-space-between {
  justify-content: space-between;
}

/* Margin bottom utility */
.mb-10 {
  margin-bottom: 10px;
}

/* Section heading size */
.heading-xl {
  font-size: 2em;
  margin-bottom: 10px;
}

/* Contact section block */
.contact-container {
  text-align: center;
  background-color: var(--slate);
  border-top: 4px solid var(--brown);
  padding: 30px 20px;

  text-align: center;
}

/* Underlined links for contact */
.underline-link {
  color: var(--tan);
  text-decoration: underline;
}

/* Language visibility toggle states */
.lang-hidden {
  visibility: hidden;
  position: absolute;
  height: 0;
  overflow: hidden;
}

.lang-visible {
  visibility: visible;
}

.hero p {
  font-family: "Playfair Display", serif;
  font-size: 1.5em;
  font-style: italic;
  color: var(--cream);
  margin-bottom: 1.2em;
}

.section h2,
.contact h2,
.newsletter h2,
#usage h2 {
  font-family: "Playfair Display", serif;
  font-style: italic;
}

.feature p,
.scenario-item {
  font-size: 0.85em;
  font-style: italic;
}

/* Extracted from inline styles in HTML */
.extracted-style-0 {
  background-color: var(--feature2);
  border-radius: 12px;
  padding: 40px 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
.extracted-style-1 {
  padding: 14px 20px;
  font-size: 1em;
  border: 2px solid var(--brown);
  border-radius: 8px;
  width: 100%;
  max-width: 400px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.extracted-style-2 {
  padding: 10px 24px;
  font-size: 0.95em;
  background-color: var(--tan);
  color: var(--dark);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.icon-style {
  width: 30px;
  height: 30px;
  display: inline-block;
  object-fit: contain;
  overflow: hidden;
}

.icon-feature-large {
  width: 80px;
  height: 80px;
}

/* === Merged from extracted.css === */
/* === Extracted utility classes from inline SVG styling === */
.stroke-brown {
  stroke: var(--brown);
}
.fill-brown {
  fill: var(--brown);
}
.fill-none {
  fill: none;
}
.stroke-2 {
  stroke-width: 2;
}

/* === Newsletter form interactive states (moved from inline handlers) === */
.newsletter-form .extracted-style-1 {
  border-color: var(--brown);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
  outline: none;
}
.newsletter-form .extracted-style-1:focus {
  box-shadow: 0 0 0 4px rgba(158, 137, 104, 0.2);
  border-color: var(--slate);
}

.newsletter-form .extracted-style-2 {
  background-color: var(--tan);
  color: var(--dark);
  transition: transform 0.15s ease, background-color 0.2s ease, color 0.2s ease;
}

.newsletter-form .extracted-style-2:hover {
  background-color: var(--slate);
  color: var(--cream);
  transform: scale(1.05);
}

/* Extracted inline styles for the sign-up form */
div {
  text-align: center;
}
#EMAIL {
  padding: 12px 15px;
  border: 1px solid #c0ccd9;
  border-radius: 3px;
  font-size: 16px;
}

span {
  display: inline;
}


@font-face {
  font-display: block;
  font-family: Roboto;
  src: url(https://assets.brevo.com/font/Roboto/Latin/normal/normal/7529907e9eaf8ebb5220c5f9850e3811.woff2)
      format("woff2"),
    url(https://assets.brevo.com/font/Roboto/Latin/normal/normal/25c678feafdc175a70922a116c9be3e7.woff)
      format("woff");
}

@font-face {
  font-display: fallback;
  font-family: Roboto;
  font-weight: 600;
  src: url(https://assets.brevo.com/font/Roboto/Latin/medium/normal/6e9caeeafb1f3491be3e32744bc30440.woff2)
      format("woff2"),
    url(https://assets.brevo.com/font/Roboto/Latin/medium/normal/71501f0d8d5aa95960f6475d5487d4c2.woff)
      format("woff");
}

@font-face {
  font-display: fallback;
  font-family: Roboto;
  font-weight: 700;
  src: url(https://assets.brevo.com/font/Roboto/Latin/bold/normal/3ef7cf158f310cf752d5ad08cd0e7e60.woff2)
      format("woff2"),
    url(https://assets.brevo.com/font/Roboto/Latin/bold/normal/ece3a1d82f18b60bcce0211725c476aa.woff)
      format("woff");
}

#sib-container input:-ms-input-placeholder {
  text-align: left;
  font-family: Helvetica, sans-serif;
  color: #c0ccda;
}

#sib-container input::placeholder {
  text-align: left;
  font-family: Helvetica, sans-serif;
  color: #c0ccda;
}

#sib-container textarea::placeholder {
  text-align: left;
  font-family: Helvetica, sans-serif;
  color: #c0ccda;
}

#sib-container a {
  text-decoration: underline;
  color: #2bb2fc;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #333;
  margin: 0.75rem 0;
}

.form-consent input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  margin-top: 0.2rem;
  accent-color: #2f4f3e; /* modern browsers: custom checkbox color */
  cursor: pointer;
}

.form-consent label {
  line-height: 1.4;
  cursor: pointer;
}

.form-consent a {
  color: #2bb2fc;
  text-decoration: underline;
}

.sib-form input[type="checkbox"]:checked + .checkbox {
  background-color: #d6c8b0; /* beige */
  border-color: #d6c8b0;
}
