/* Lavanova — Learn English Online */
:root {
  --bg: #fbfbf9;
  --surface: #ffffff;
  --text: #1c2430;
  --muted: #5b6673;
  --accent: #0f6e56;
  --accent-soft: #e1f5ee;
  --border: #e7e4dc;
  --radius: 12px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 1040px; margin: 0 auto; padding: 0 24px; }

header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.brand .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent); display: inline-block;
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--muted); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-links a.active { color: var(--accent); }

.hero {
  padding: 88px 0 72px;
  text-align: center;
}
.hero h1 {
  font-size: 46px;
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 750;
  max-width: 720px;
  margin: 0 auto 20px;
}
.hero p {
  color: var(--muted);
  font-size: 19px;
  max-width: 620px;
  margin: 0 auto 32px;
}
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 13px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: opacity .15s;
}
.btn:hover { opacity: .9; text-decoration: none; }
.btn.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.section { padding: 56px 0; }
.section h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.section .lead { color: var(--muted); margin-bottom: 36px; }

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}
.card h3 { font-size: 18px; font-weight: 650; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }
.card .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.article {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}
.article .meta { color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.article h3 { font-size: 19px; margin-bottom: 8px; }
.article h3 a { color: var(--text); }
.article h3 a:hover { color: var(--accent); text-decoration: none; }
.article p { color: var(--muted); font-size: 15px; }

footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 40px 0;
  margin-top: 64px;
  color: var(--muted);
  font-size: 14px;
}
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

@media (max-width: 800px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
  .nav-links { gap: 16px; }
}
