:root {
  --ink: #14213d;
  --muted: #5c6478;
  --paper: #fefcf8;
  --accent: #e76f51;
  --accent-soft: rgba(231, 111, 81, 0.12);
  --line: rgba(20, 33, 61, 0.08);
  --shadow: 0 18px 50px rgba(20, 33, 61, 0.08);
  font-size: clamp(15px, 1.05vw + 13px, 18px);
}

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Source Sans 3", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

.bg-pattern {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(circle at 20% 20%, var(--accent-soft), transparent 45%),
    radial-gradient(circle at 80% 0%, rgba(20, 33, 61, 0.04), transparent 40%);
  pointer-events: none;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 52rem;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 0;
}

.logo {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  gap: 1.25rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
}

.nav-link--muted {
  color: var(--muted);
  cursor: default;
  opacity: 0.7;
}

main {
  max-width: 52rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

.hero {
  margin-bottom: 2.25rem;
}

.eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.lede {
  margin: 0;
  max-width: 38ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.5rem 1.35rem 1.35rem;
  box-shadow: var(--shadow);
}

.card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.card h2 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
}

.today-date {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}

.prompt {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.45;
}

.hint {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.site-footer {
  max-width: 52rem;
  margin: 0 auto;
  padding: 0 1.25rem 2.5rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.site-footer p + p {
  margin-top: 0.5rem;
}

.deploy-hint {
  font-size: 0.8rem;
  color: var(--muted);
}

.deploy-hint code {
  font-size: 0.85em;
  background: var(--accent-soft);
  padding: 0.1em 0.35em;
  border-radius: 0.25rem;
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
