:root {
  --bg: #f4f7f6;
  --surface: #ffffff;
  --ink: #12211f;
  --muted: #5e716d;
  --brand: #0b514a;
  --brand-dark: #083a35;
  --accent: #9ae66e;
  --line: #dbe5e2;
  --shadow: 0 18px 45px rgba(12, 48, 43, 0.10);
}

* { box-sizing: border-box; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: var(--bg); }
button { font: inherit; }
.topbar { min-height: 76px; padding: 0 5vw; display: flex; align-items: center; justify-content: space-between; background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; backdrop-filter: blur(12px); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { background: var(--brand); color: white; padding: 9px 12px; border-radius: 10px; font-weight: 800; letter-spacing: .08em; }
.brand-title { font-weight: 750; font-size: 1.08rem; }
.language-switch { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 4px; background: white; }
.lang-button { border: 0; background: transparent; color: var(--muted); padding: 7px 12px; border-radius: 999px; cursor: pointer; font-weight: 700; }
.lang-button.is-active { background: var(--brand); color: white; }
.page-shell { width: min(1180px, 90vw); margin: 0 auto; }
.hero { margin: 52px 0 66px; padding: clamp(34px, 7vw, 78px); border-radius: 30px; background: linear-gradient(135deg, var(--brand-dark), var(--brand)); color: white; box-shadow: var(--shadow); overflow: hidden; position: relative; }
.hero::after { content: ""; position: absolute; right: -100px; top: -130px; width: 380px; height: 380px; border-radius: 50%; background: rgba(154,230,110,.15); }
.eyebrow { margin: 0 0 13px; text-transform: uppercase; letter-spacing: .13em; font-size: .77rem; font-weight: 800; color: var(--accent); }
h1 { max-width: 840px; margin: 0; font-size: clamp(2.2rem, 5vw, 4.7rem); line-height: 1.02; letter-spacing: -.045em; }
.lead { max-width: 730px; font-size: clamp(1rem, 1.8vw, 1.25rem); line-height: 1.65; color: rgba(255,255,255,.78); margin: 24px 0 30px; }
.primary-button, .card-button { border: 0; border-radius: 12px; padding: 13px 19px; cursor: pointer; font-weight: 800; }
.primary-button { background: var(--accent); color: #173326; }
.section-heading h2 { margin: 0 0 25px; font-size: clamp(1.7rem, 3vw, 2.7rem); letter-spacing: -.03em; }
.course-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.course-card { min-height: 285px; padding: 25px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 10px 26px rgba(10, 45, 40, .06); display: flex; flex-direction: column; }
.course-card.featured { border-color: rgba(11,81,74,.35); }
.course-status { align-self: flex-start; padding: 6px 9px; background: #edf2f1; color: var(--muted); border-radius: 999px; font-size: .73rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.course-status.available { background: #e7f8dc; color: #315d21; }
.course-code { margin: 26px 0 6px; font-weight: 900; font-size: .78rem; color: var(--brand); letter-spacing: .15em; }
.course-card h3 { margin: 0; font-size: 1.4rem; }
.course-card p:not(.course-code) { color: var(--muted); line-height: 1.55; }
.card-button { margin-top: auto; background: var(--brand); color: white; width: 100%; }
footer { width: min(1180px, 90vw); margin: 68px auto 0; padding: 28px 0 40px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; color: var(--muted); font-size: .9rem; }
@media (max-width: 900px) { .course-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .topbar { padding: 0 4vw; } .brand-title { display: none; } .page-shell { width: 92vw; } .hero { margin-top: 24px; border-radius: 22px; padding: 30px 24px; } .course-grid { grid-template-columns: 1fr; } footer { flex-direction: column; gap: 8px; } }
