@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/nunito-600.woff2") format("woff2");
}
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/nunito-700.woff2") format("woff2");
}
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/nunito-800.woff2") format("woff2");
}

:root {
  --bg: #f4f1ea;
  --ink: #1c2430;
  --muted: #5d6b73;
  --line: #e3dccf;
  --pine: #0f6e56;
  --pine-dark: #084c3c;
  --pine-soft: #e5f4ee;
  --card: #fffcf7;
  --shadow: 0 10px 30px rgba(28, 36, 48, 0.06);
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  min-height: 100dvh;
  font-family: "Nunito", "Segoe UI", sans-serif;
  font-weight: 600;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 50% -10%, #d7efe4, transparent 55%),
    #dfeae4;
}
a { color: var(--pine-dark); }
:focus-visible { outline: 3px solid var(--pine); outline-offset: 2px; }

.app {
  width: min(480px, 100%);
  min-height: 100dvh;
  margin: 0 auto;
  background: var(--bg);
  padding: calc(18px + env(safe-area-inset-top)) 18px calc(28px + env(safe-area-inset-bottom));
}
@media (min-width: 560px) {
  body { padding: 24px 0; }
  .app {
    min-height: calc(100dvh - 48px);
    border-radius: 28px;
    box-shadow: 0 24px 70px rgba(15, 60, 45, 0.16);
  }
}

.brand-row { display: flex; align-items: center; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.brand h1 { font-size: 22px; line-height: 1; margin: 0; font-weight: 800; }
.brand p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.lede { margin: 18px 0 8px; color: var(--muted); line-height: 1.45; }

.courses { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.course {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-height: 72px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
}
.course:active { background: var(--pine-soft); }
.course strong { font-size: 17px; font-weight: 800; }
.course span { color: var(--muted); font-size: 14px; font-weight: 600; }
.fine { margin: 22px 0 0; color: var(--muted); font-size: 14px; }
