:root {
  --bg: #f6f1e7;
  --ink: #1d1b16;
  --muted: #6b655a;
  --accent: #ff5a1f;
  --card: #fffaf0;
  --line: #ddd4c2;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}
a { color: inherit; }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 20px; }

header.top { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 22px; text-decoration: none; letter-spacing: -0.02em; }
.brand img { width: 32px; height: 32px; }
header.top nav a { margin-left: 18px; font-size: 15px; text-decoration: none; color: var(--muted); }
header.top nav a:hover { color: var(--ink); }

.hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; padding: 48px 0 64px; }
.hero h1 { font-size: clamp(40px, 7vw, 72px); line-height: 0.98; letter-spacing: -0.04em; margin: 0 0 18px; font-weight: 900; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p { font-size: 20px; color: var(--muted); max-width: 30em; margin: 0 0 26px; }
.hero .ball { width: 100%; max-width: 340px; justify-self: center; animation: bob 3.2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-14px) rotate(8deg); } }
@media (prefers-reduced-motion: reduce) { .hero .ball { animation: none; } }

.btn { display: inline-block; background: var(--ink); color: var(--bg); padding: 13px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 0; font-size: 16px; cursor: pointer; }
.btn.alt { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); margin-left: 8px; }

section { padding: 44px 0; border-top: 1px solid var(--line); }
section h2 { font-size: 30px; letter-spacing: -0.02em; margin: 0 0 20px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.how { display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px; align-items: center; }
.how img { width: 100%; max-width: 300px; justify-self: center; }
.steps { display: grid; gap: 12px; }
.num { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; margin-bottom: 10px; }

.warn { background: var(--ink); color: var(--bg); border-radius: 16px; padding: 24px; }
.warn h2 { margin-top: 0; }
.warn ul { margin: 0; padding-left: 20px; }
.warn li { margin: 6px 0; }

footer { border-top: 1px solid var(--line); padding: 28px 0 48px; color: var(--muted); font-size: 14px; }
footer a { margin-right: 16px; }

/* Legal pages */
.legal { max-width: 720px; padding-bottom: 60px; }
.legal h1 { font-size: 38px; letter-spacing: -0.03em; margin: 24px 0 4px; }
.legal h2 { font-size: 20px; margin: 32px 0 8px; }
.legal .date { color: var(--muted); margin: 0 0 24px; }
.legal .caps { text-transform: uppercase; font-size: 15px; }

/* Age gate */
#gate { position: fixed; inset: 0; background: rgba(29, 27, 22, 0.94); display: none; place-items: center; padding: 20px; z-index: 10; }
#gate.on { display: grid; }
#gate .box { background: var(--bg); border-radius: 20px; padding: 32px; max-width: 400px; text-align: center; }
#gate img { width: 72px; }
#gate h2 { margin: 12px 0 6px; font-size: 26px; }
#gate p { color: var(--muted); margin: 0 0 20px; }

@media (max-width: 720px) {
  .hero { grid-template-columns: 1fr; padding-top: 24px; }
  .hero .ball { max-width: 220px; order: -1; }
  .grid, .how { grid-template-columns: 1fr; }
  .how img { max-width: 200px; }
  header.top nav a:not(:last-child) { display: none; }
  .btn.alt { margin: 10px 0 0; }
}
