:root {
  --ink: #12201c;
  --foam: #eef3ef;
  --paper: #f8fbf8;
  --muted: #4f635a;
  --brand: #0f3d36;
  --accent: #2f8f6b;
  --line: rgba(15, 61, 54, 0.12);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", sans-serif;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(47,143,107,.12), transparent 55%),
    var(--foam);
}
a { color: inherit; text-decoration: none; }
.cursos-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.9rem clamp(1rem, 4vw, 2rem);
  background: var(--brand);
  color: #fff;
}
.cursos-brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}
.cursos-brand em,
.cursos-brand span { opacity: .75; font-style: italic; }
.cursos-brand .brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  flex-shrink: 0;
}
.cursos-top nav {
  display: flex;
  gap: .85rem;
  flex-wrap: wrap;
  font-size: .9rem;
  font-weight: 500;
}
.cursos-top nav a.is-active {
  background: rgba(255,255,255,.16);
  padding: .28rem .7rem;
  border-radius: 999px;
}
.cursos-wrap {
  width: min(960px, calc(100% - 2rem));
  margin: 1.5rem auto 3rem;
}
.cursos-foot {
  text-align: center;
  padding: 1.5rem;
  color: var(--muted);
  font-size: .9rem;
}
.eyebrow {
  margin: 0 0 .4rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .75rem;
  color: var(--accent);
  font-weight: 600;
}
h1, h2 { font-family: var(--font-display); margin: 0 0 .6rem; }
h1 { font-size: clamp(2rem, 5vw, 2.8rem); }
.lede, .muted { color: var(--muted); line-height: 1.55; }
.small { font-size: .9rem; }
.panel, .course-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.25rem;
}
.grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}
@media (min-width: 720px) {
  .grid { grid-template-columns: 1fr 1fr; }
}
.course-card h2 { font-size: 1.45rem; }
.price {
  margin: .5rem 0 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--brand);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  padding: .7rem 1.1rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.btn.primary { background: var(--accent); color: #fff; }
.btn.secondary { background: #fff; border: 1px solid var(--line); color: var(--ink); }
.actions { display: flex; gap: .65rem; flex-wrap: wrap; align-items: center; }
.stack { display: grid; gap: .75rem; }
label { display: grid; gap: .35rem; font-size: .92rem; }
input, textarea, select {
  font: inherit;
  padding: .65rem .75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.cursos-alert {
  padding: .85rem 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}
.cursos-alert.success { background: #e5f6ec; }
.cursos-alert.error { background: #fde8e8; }
.cursos-alert.info { background: #e8f0fe; }
.lesson-card {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: .85rem 0;
  border-bottom: 1px solid var(--line);
}
.form-grid.two {
  display: grid;
  gap: .75rem;
}
@media (min-width: 640px) {
  .form-grid.two { grid-template-columns: 1fr 1fr; }
}
