:root {
  --bg: #f7f4ee;
  --surface: #ffffff;
  --surface-soft: #eee8df;
  --text: #171717;
  --muted: #5f5f5f;
  --border: #ded8cf;
  --accent: #111827;
  --accent-blue: #2563eb;

  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
}

a {
  color: inherit;
}

.header,
main,
.footer {
  width: min(1060px, calc(100% - 40px));
  margin: 0 auto;
}

.header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 850;
  letter-spacing: -0.045em;
  text-decoration: none;
}

.brand span {
  color: var(--accent-blue);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-link {
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: none;
}

.header-link:hover {
  color: var(--text);
}

.language-switcher {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
}

.language-button {
  min-width: 38px;
  height: 30px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.language-button.active {
  color: #ffffff;
  background: var(--accent);
}

.hero {
  padding: 92px 0 104px;
  border-top: 1px solid var(--border);
}

.label {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 960px;
  margin-bottom: 28px;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.96;
  letter-spacing: -0.075em;
}

.hero-text {
  max-width: 720px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.28rem);
  line-height: 1.65;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--accent);
  font-weight: 850;
  text-decoration: none;
  transition:
    transform 140ms ease,
    opacity 140ms ease;
}

.button:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.section {
  padding: 76px 0;
  border-top: 1px solid var(--border);
}

.section-title {
  max-width: 720px;
  margin-bottom: 32px;
}

.section-title h2,
.quote-section h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.02;
  letter-spacing: -0.065em;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.card {
  min-height: 215px;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--surface);
}

.card h3 {
  margin-bottom: 14px;
  font-size: 1.22rem;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.card p,
.about-content p,
.quote-section p,
.footer p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.about-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.about-section .section-title {
  margin-bottom: 0;
}

.about-content {
  display: grid;
  gap: 20px;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
}

.about-content p {
  font-size: 1.05rem;
}

.quote-section {
  margin-bottom: 52px;
  padding: 40px;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: var(--surface-soft);
}

.quote-content {
  max-width: 780px;
}

.quote-section h2 {
  margin-bottom: 24px;
}

.quote-section p {
  margin-bottom: 28px;
  font-size: 1.05rem;
}

.footer {
  padding: 28px 0 44px;
  border-top: 1px solid var(--border);
}

@media (max-width: 760px) {
  .header,
  main,
  .footer {
    width: min(100% - 28px, 1060px);
  }

  .header {
    min-height: 70px;
  }

  .header-actions {
    gap: 10px;
  }

  .header-link {
    display: none;
  }

  .hero {
    padding: 70px 0 84px;
  }

  h1 {
    font-size: 3.05rem;
    letter-spacing: -0.065em;
  }

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

  .about-section {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-content {
    padding: 26px;
  }

  .quote-section {
    padding: 28px;
  }
}
