:root {
  --color-primary: #3a2a23;
  --color-secondary: #efe5dc;
  --color-light: #ffffff;
  --color-text: #2b1b14;
  --color-muted: #6b4a3d;
  --max-width: 72rem;
  --radius: 0.75rem;
  --gap: 1.25rem;
  --font-base: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-secondary);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius);
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid #b2764c;
  outline-offset: 2px;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

header {
  background: var(--color-primary);
  color: var(--color-light);
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: 600;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  padding: 0;
  margin: 0;
}

nav a {
  color: var(--color-secondary);
  font-weight: 500;
}

.hero {
  background: var(--color-primary);
  color: var(--color-light);
  padding: 3.5rem 0;
}

.hero-content {
  display: grid;
  gap: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.3rem, 6vw, 3.5rem);
  margin: 0;
}

.hero p {
  max-width: 36rem;
}

.section {
  padding: 3rem 0;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 1.25rem;
  color: var(--color-primary);
}

.cards {
  display: grid;
  gap: var(--gap);
}

.card {
  background: var(--color-light);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 10px 25px rgba(58, 42, 35, 0.08);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.steps {
  padding-left: 1.25rem;
  margin: 0;
  color: var(--color-muted);
}

.cafes {
  display: grid;
  gap: var(--gap);
}

.cafe-item {
  background: var(--color-light);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  border-left: 6px solid #b2764c;
}

.newsletter {
  background: var(--color-primary);
  color: var(--color-light);
  border-radius: var(--radius);
  padding: 2rem;
  display: grid;
  gap: 1rem;
}

.newsletter form {
  display: grid;
  gap: 0.75rem;
}

.newsletter label {
  font-weight: 600;
}

.newsletter input,
.newsletter button {
  padding: 0.85rem;
  border-radius: 0.5rem;
  border: none;
  font-size: 1rem;
  font-family: inherit;
}

.newsletter input {
  background: #fff;
  color: #2f1f17;
}

.newsletter button {
  background: #b2764c;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.newsletter button:hover {
  background: #9a6540;
}

footer {
  background: #1f130e;
  color: #f8f1ea;
  padding: 2rem 0;
  font-size: 0.95rem;
}

.footer-content {
  display: grid;
  gap: 0.5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (min-width: 600px) {
  .hero-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
  }

  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cafes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .cafes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
