/* ===== Base ===== */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 48px 24px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: #f7f7f8;
  color: #111;
  line-height: 1.6;
}

/* ===== Language Switch ===== */
.lang-switch {
  max-width: 720px;
  margin: 20px auto 0;
  padding: 0 20px;
  font-size: 14px;
  text-align: right;
  opacity: 0.7;
}

.lang-switch a {
  text-decoration: none;
  color: inherit;
}

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

/* ===== Hero ===== */
.hero {
  max-width: 900px;
  margin: 0 auto 48px;
}

.hero h1 {
  font-size: 2.6rem;
  margin-bottom: 12px;
}

.tagline {
  font-size: 1.1rem;
  color: #444;
  max-width: 600px;
}

/* ===== Sections Grid ===== */
.sections {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

/* ===== Card ===== */
.card {
  display: block;
  padding: 24px;
  border-radius: 14px;
  background: white;
  text-decoration: none;
  color: inherit;
  border: 1px solid #e5e5e8;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card h2 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 1.3rem;
}

.card p {
  margin: 0;
  color: #555;
  font-size: 0.95rem;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

/* ===== Footer ===== */
footer {
  max-width: 900px;
  margin: 64px auto 0;
  font-size: 0.9rem;
  color: #666;
}
