:root {
  --bg-top: #f6e6d0;
  --bg-bottom: #efd2ac;
  --table: #d2ae88;
  --ink: #5a4330;
  --ink-soft: #8a6f57;
  --accent: #e0a53c;
  --accent-dark: #c98f26;
  --blue: #5ea7f2;
}

* { box-sizing: border-box; }

html, body { height: 100%; margin: 0; }

body {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
  color: var(--ink);
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
}

.card {
  width: 100%;
  max-width: 880px;
  text-align: center;
}

.hero {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(90, 67, 48, 0.18);
}

h1 {
  margin: 28px 0 8px;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.lead {
  margin: 0 auto 22px;
  max-width: 34em;
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  color: var(--ink-soft);
}

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(224, 165, 60, 0.4);
  transition: background .2s ease, transform .2s ease;
}

.btn:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.hint {
  margin: 18px 0 0;
  font-size: .9rem;
  color: var(--ink-soft);
}

@media (prefers-reduced-motion: no-preference) {
  .hero { animation: float 5s ease-in-out infinite; }
  @keyframes float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
  }
}

@media (max-width: 520px) {
  body { padding: 14px; }
  .hero { border-radius: 14px; }
}

.btn-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin: 36px 0 0;
  padding: 32px 0 48px;
  background: var(--table);
  box-shadow: 0 0 0 100vmax var(--table);
  clip-path: inset(0 -100vmax -100vmax -100vmax);
}
.btn-group .btn {
  width: min(100%, 380px);
  text-align: center;
}
