:root {
  color-scheme: light;
  --bg: #f4f5f8;
  --surface: #ffffff;
  --text: #1f2430;
  --accent: #0057d8;
  --accent-hover: #0046ab;
  --muted: #6f7785;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f8f9fc 0%, var(--bg) 100%);
}

.site-header,
.preview {
  width: min(960px, 92%);
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 2rem 0 1rem;
}

.logo {
  width: 64px;
  height: 64px;
}

.site-header h1 {
  margin: 0;
}

.site-header p {
  margin-top: 0.25rem;
  color: var(--muted);
}

.booklet-card {
  margin: 1rem 0 3rem;
  background: var(--surface);
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 8px 24px rgba(32, 42, 67, 0.08);
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(180px, 260px) 1fr;
}

.cover {
  width: 100%;
  border-radius: 8px;
  border: 1px solid #dde1ea;
}

.booklet-content h2 {
  margin-top: 0;
}

.booklet-content ul {
  margin: 0 0 1.25rem;
  padding-left: 1.2rem;
}

.button {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  padding: 0.8rem 1.2rem;
  border-radius: 8px;
}

.button:hover,
.button:focus-visible {
  background: var(--accent-hover);
}

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

@media (max-width: 760px) {
  .booklet-card {
    grid-template-columns: 1fr;
  }

  .cover {
    max-width: 280px;
  }
}
