/* Shop info & policies page: a long paper sheet pinned to the same wall as
   the board. main.css locks the board page to one screen, so undo that here
   to let this page scroll. */

html, body {
  height: auto;
  overflow: auto;
}

body {
  display: block;
  padding: 40px 16px;
}

.policy-sheet {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding: 44px 48px 36px;
  background: #fff;
  color: #222;
  border: 3px solid #111;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.3),
    3px 10px 24px rgba(var(--wall-shadow), 0.45);
  line-height: 1.6;
}

/* Same red pushpin as the cards on the board */
.policy-pin {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ff8a8a 0%, #e02424 35%, #8f0000 100%);
  border: 1px solid #550000;
  box-shadow: 2px 4px 4px rgba(0, 0, 0, 0.45);
}

.policy-back {
  display: block;
  width: fit-content;
  margin-bottom: 18px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #444;
  text-decoration: none;
}

.policy-back:hover { color: #000; text-decoration: underline; }

.policy-brand {
  height: 46px;
  margin-bottom: 14px;
  padding: 0;
  box-shadow: none;
}

.policy-sheet h1 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 4px;
}

.policy-updated {
  color: #666;
  font-size: 0.85rem;
  margin-bottom: 18px;
}

/* Jump links to each section */
.policy-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-bottom: 18px;
  margin-bottom: 8px;
  border-bottom: 2px solid #111;
}

.policy-toc a {
  padding: 4px 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #111;
  text-decoration: none;
  background: #f3f3f3;
  border: 1px solid #ccc;
  border-radius: 999px;
}

.policy-toc a:hover { background: var(--smash-gold); border-color: #111; }

.policy-sheet section {
  padding-top: 18px;
  scroll-margin-top: 16px;
}

.policy-sheet h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.policy-sheet h3 {
  font-size: 1rem;
  margin: 14px 0 4px;
}

.policy-sheet p,
.policy-sheet ul {
  margin-bottom: 10px;
}

.policy-sheet ul {
  padding-left: 22px;
}

.policy-sheet li {
  margin-bottom: 4px;
}

/* Placeholders still to fill in: easy to spot while editing */
.policy-sheet mark {
  background: #fff1a8;
  padding: 0 3px;
  border-radius: 2px;
}

.policy-footer {
  margin-top: 24px;
  padding-top: 14px;
  border-top: 1px solid #ddd;
}

.policy-footer a { color: #444; font-weight: 600; }

@media (max-width: 600px) {
  body { padding: 28px 10px; }
  .policy-sheet { padding: 36px 20px 28px; }
  .policy-sheet h1 { font-size: 1.45rem; }
}
