:root {
  --bg: #f7f4ec;
  --surface: #fffdf7;
  --ink: #212820;
  --muted: #4c564b;
  --accent: #c98a2d;
  --navy: #16351f;
  --border: #e3ddcd;
  --shadow: 0 2px 14px rgba(22, 53, 31, 0.10);
  --radius: 12px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.wrap {
  width: min(720px, 100% - 2rem);
  margin-inline: auto;
}

.site-header {
  background: linear-gradient(160deg, #fffdf7 0%, #dfe8d9 55%, #eaf2e6 100%);
  border-bottom: 3px solid #1f4a2c;
  padding: 2.25rem 0 1.75rem;
  text-align: center;
}

.site-header h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 5vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 32em;
  margin-inline: auto;
}

main {
  flex: 1;
  padding: 2rem 0 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem 1.25rem 1.25rem;
  width: 100%;
  text-align: center;
}

.card h2 {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
  color: var(--navy);
  font-weight: 650;
}

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

.btn {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  padding: 0.75rem 1.35rem;
  border-radius: 8px;
  transition: background 0.15s ease, transform 0.1s ease;
}

.btn:hover,
.btn:focus-visible {
  background: #1f4a2c;
  outline: none;
}

.btn:active {
  transform: translateY(1px);
}

.note {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
}

.note p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink);
}

.note strong {
  color: var(--navy);
}

.embed-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  min-height: 280px;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1rem 0 1.25rem;
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}
