/* 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; }
}

/* ===== article / prose ===== */
.article-head { max-width: 760px; margin: 0 auto; padding: 56px 24px 8px; }
.article-head .badge { display: inline-block; background: var(--accent-soft); color: var(--accent); border-radius: 999px; padding: 3px 12px; font-size: 12px; font-weight: 600; margin-bottom: 16px; }
.article-head h1 { font-size: 34px; line-height: 1.25; letter-spacing: -0.02em; }
.article-head .meta { color: var(--muted); margin-top: 14px; font-size: 14px; }
.prose { max-width: 760px; margin: 0 auto; padding: 28px 24px 64px; font-size: 17px; }
.prose p { margin-bottom: 18px; color: #2a323c; }
.prose h2 { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; margin: 36px 0 12px; }
.prose h3 { font-size: 18px; font-weight: 650; margin: 26px 0 10px; }
.prose ul, .prose ol { margin: 0 0 18px 22px; }
.prose li { margin-bottom: 8px; }
.prose strong { font-weight: 650; }
.example { background: var(--accent-soft); border-left: 3px solid var(--accent); padding: 14px 18px; border-radius: 8px; margin: 18px 0; font-size: 15px; }
.example .lbl { display: block; font-size: 12px; font-weight: 650; color: var(--accent); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; }
.related { max-width: 760px; margin: 0 auto 64px; padding: 0 24px; }
.related h2 { font-size: 20px; margin-bottom: 16px; }

/* ===== lessons ===== */
.level { margin-bottom: 36px; }
.level h3 { font-size: 20px; margin-bottom: 4px; }
.level .level-desc { color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.lesson-item { border-top: 1px solid var(--border); padding: 12px 0; display: flex; align-items: baseline; }
.lesson-item .no { color: var(--muted); font-size: 13px; font-weight: 600; width: 48px; flex-shrink: 0; }
.lesson-item .t { font-weight: 500; }

/* ===== faq / legal / contact ===== */
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 20px 24px; margin-bottom: 14px; }
.faq-item h3 { font-size: 17px; margin-bottom: 8px; }
.faq-item p { color: var(--muted); }
.legal { max-width: 760px; margin: 0 auto; padding: 32px 24px 64px; }
.legal h2 { margin-top: 32px; font-size: 20px; }
.legal p, .legal li { margin-bottom: 14px; color: #2a323c; }
.legal .updated { color: var(--muted); font-size: 14px; }
.contact-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 28px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.form-field input, .form-field textarea { width: 100%; padding: 11px 14px; border: 1px solid var(--border); border-radius: 8px; font: inherit; font-size: 15px; color: var(--text); background: var(--bg); }
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--accent); }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
