/* ========== Colors: change these to restyle the whole page ========== */
:root {
  --background: #f7f4ef;     /* warm off-white page */
  --text: #1c1c1c;           /* near-black text */
  --muted: #4a4a4a;          /* softer text for the tagline */

  --book: #b34700;           /* deep orange (Amazon-ish, high contrast) */
  --survivors: #5b2a86;      /* purple, the stroke awareness color */
  --youtube: #c4161c;        /* deep red */

  --button-text: #ffffff;
  --focus: #1a73e8;          /* outline shown when using keyboard */
}

/* ========== Basics ========== */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 20px;            /* larger than usual, easier to read */
  line-height: 1.5;
}

.page {
  max-width: 560px;
  margin: 0 auto;
  padding: 48px 20px 32px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ========== Top section ========== */
.intro {
  text-align: center;
  margin-bottom: 36px;
}

.cover {
  width: 180px;
  max-width: 60%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  margin-bottom: 24px;
}

h1 {
  font-size: 2.2rem;
  line-height: 1.2;
  margin: 0 0 8px;
}

.tagline {
  color: var(--muted);
  margin: 0;
}

/* ========== Buttons ========== */
.links {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 72px;           /* big tap target */
  padding: 18px 24px;
  border-radius: 14px;
  color: var(--button-text);
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.25);
  transition: transform 0.1s ease, box-shadow 0.1s ease, filter 0.1s ease;
}

.button:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.25);
}

.button:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.25);
}

/* Clear outline for people who use a keyboard instead of a mouse */
.button:focus-visible {
  outline: 4px solid var(--focus);
  outline-offset: 4px;
}

.icon {
  font-size: 1.5rem;
}

.button-book      { background: var(--book); }
.button-survivors { background: var(--survivors); }
.button-youtube   { background: var(--youtube); }

/* ========== Footer ========== */
.footer {
  margin-top: auto;
  padding-top: 48px;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Turn off animations for people who prefer less motion */
@media (prefers-reduced-motion: reduce) {
  .button {
    transition: none;
  }
  .button:hover,
  .button:active {
    transform: none;
  }
}
