:root {
  --teal: #5497a8;
  --teal-strong: #3f7d8e;
  --bg: #f7f9f9;
  --surface: #ffffff;
  --text: #14211f;
  --muted: #55625f;
  --line: #dde5e4;
  --radius: 14px;
  --max: 1080px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --teal: #6fb1c2;
    --teal-strong: #8cc3d1;
    --bg: #0e1615;
    --surface: #152120;
    --text: #e8efee;
    --muted: #9fb0ad;
    --line: #22312f;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

a { color: var(--teal-strong); }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-family: "Fraunces", Georgia, serif;
  font-size: 22px;
  font-weight: 600;
}
.brand img { width: 36px; height: 36px; border-radius: 8px; }
.lang {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
}
.lang:hover { color: var(--text); border-color: var(--teal); }

/* Hero */
.hero { padding: 72px 0 64px; }
.hero h1 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: clamp(36px, 6vw, 60px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
  max-width: 16ch;
}
.hero p {
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 21px);
  max-width: 56ch;
  margin: 0 0 32px;
}
.btn {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 14px 26px;
  border-radius: 999px;
}
.btn:hover { background: var(--teal-strong); }
@media (prefers-color-scheme: dark) {
  .btn { color: #0e1615; }
}

/* Sections */
section { padding: 56px 0; border-top: 1px solid var(--line); }
h2 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: clamp(26px, 3.4vw, 34px);
  margin: 0 0 28px;
}
.grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal-strong);
  margin-bottom: 10px;
}
.card a.more { display: inline-block; margin-top: 12px; font-weight: 600; font-size: 15px; }

.about p { max-width: 64ch; color: var(--muted); margin: 0 0 16px; }

.contact p { color: var(--muted); margin: 0 0 24px; max-width: 56ch; }

footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 14px;
}
