:root {
  --stone-gray: #D1D3BE;      /* background */
  --journal-magenta: #9C3A57; /* buttons */
  --owl-feathers: #E2B463;    /* accent */
  --water-blue: #009FD7;      /* brand color, not used yet */
  --ink: #000;
  --button-text: #F7F4EA;
  --shadow: 4px 4px 0 var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--stone-gray);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  overflow-x: hidden;
}

.page {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 48px 20px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--journal-magenta);
  border: 3px solid var(--owl-feathers);
}

h1 {
  margin: 16px 0 28px;
  font-size: 1.75rem;
  line-height: 1.2;
  font-weight: 700;
  text-align: center;
}

.link {
  display: block;
  width: 100%;
  padding: 16px 20px;
  background: var(--journal-magenta);
  color: var(--button-text);
  border: 2px solid var(--ink);
  border-radius: 14px;
  box-shadow: var(--shadow);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: transform .12s ease, box-shadow .12s ease;
}

.link:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.link:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--ink); }
.link:focus-visible,
.alt a:focus-visible { outline: 3px solid var(--owl-feathers); outline-offset: 3px; }


.toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translate(-50%, 12px);
  padding: 10px 18px;
  background: var(--ink);
  color: var(--owl-feathers);
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  .link, .toast { transition: none; }
}

/* Courses page */
.subtitle {
  margin: -22px 0 24px;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  color: var(--journal-magenta);
}

.video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 24px;
  background: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.cta { cursor: pointer; font-family: inherit; }

.alt {
  margin: 20px 0 0;
  font-size: .95rem;
  text-align: center;
}

.alt a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }
.alt a:hover { color: var(--journal-magenta); }
