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

:root {
  --bg: #f5f0e8;
  --text: #1a1a1a;
  --text-muted: #6b6560;
  --font-cormorant: 'Cormorant Garamond', Georgia, serif;
  --font-playfair: 'Playfair Display', Georgia, serif;
  --font-franklin: 'Libre Franklin', system-ui, sans-serif;
}

html, body {
  height: 100%;
}

body {
  background-color: var(--bg);
  color: var(--text);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

body.font-cormorant {
  font-family: var(--font-cormorant);
}

body.font-playfair {
  font-family: var(--font-playfair);
}

body.font-franklin {
  font-family: var(--font-franklin);
}

.header {
  position: absolute;
  top: 0;
  left: 0;
  padding: 1.5rem;
}

.title {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  text-transform: lowercase;
  text-decoration: none;
  transition: color 0.2s ease;
}

.title:hover {
  color: var(--text);
}

.container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}

.strategy {
  max-width: 700px;
  font-size: clamp(1.75rem, 5vw, 3rem);
  line-height: 1;
  text-align: center;
  font-weight: 400;
  transition: opacity 0.3s ease, transform 0.1s ease;
}

.strategy:hover {
  opacity: 0.7;
}

.strategy:active {
  transform: scale(0.98);
}

.strategy.fade-out {
  opacity: 0;
}

.footer {
  padding: 1.5rem;
  text-align: center;
}

.font-toggle {
  font-family: inherit;
  font-size: 0.75rem;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem 1rem;
  letter-spacing: 0.05em;
  text-transform: lowercase;
  transition: color 0.2s ease;
}

.font-toggle:hover {
  color: var(--text);
}

