:root {
  --bg: #f5f1ea;
  --bg-accent: #e7ded0;
  --surface: #fffdf8;
  --text: #201c17;
  --muted: #5f5548;
  --primary: #d24b2a;
  --primary-dark: #a6371d;
  --border: #ddd0bc;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Space Grotesk", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 10% 0%, #fff6e8 0%, var(--bg) 55%),
    linear-gradient(135deg, #f8f1e6 0%, #efe5d6 100%);
  min-height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

header {
  padding: 2.5rem 1.25rem 1rem;
}

.header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.wrap {
  width: min(980px, 92vw);
  margin: 0 auto;
}

.brand {
  display: inline-block;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.lang-switch {
  display: inline-block;
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.9rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.65);
}

.lang-switch:hover {
  text-decoration: underline;
}

.hero {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 15px 35px rgba(40, 26, 11, 0.08);
}

h1,
h2 {
  margin-top: 0;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  margin-bottom: 0.75rem;
}

h2 {
  font-size: clamp(1.4rem, 2.7vw, 2rem);
}

p,
li {
  color: var(--muted);
  line-height: 1.65;
  font-size: 1.03rem;
}

.cta-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.button {
  display: inline-block;
  text-decoration: none;
  background: var(--primary);
  color: #fff;
  padding: 0.72rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease;
}

.button:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.button.secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

main {
  flex: 1;
  padding: 0 1.25rem 2rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.6rem;
  margin-top: 1rem;
}

footer {
  border-top: 1px solid var(--border);
  background: rgba(255, 253, 248, 0.75);
  backdrop-filter: blur(4px);
}

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

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

.footer-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.footer-nav a:hover {
  text-decoration: underline;
}

.legal-note {
  font-size: 0.9rem;
}

@media (max-width: 640px) {
  .hero,
  .card {
    padding: 1.2rem;
  }

  .header-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
