@import url("https://fonts.googleapis.com/css2?family=Bowlby+One+SC&family=Nunito:wght@500;700;800&display=swap");
@import "./tokens.css";

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: var(--font);
  color: var(--ink);
  background: var(--pageBg);
  -webkit-tap-highlight-color: transparent;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; border: none; cursor: pointer; background: none; }

.app-shell {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
}

.site-footer {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 2.25rem;
  padding: 0 1.5rem;
  font-size: 0.75rem;
  color: #4c4c4c;
  border-top: 1px solid rgba(58, 58, 58, 0.35);
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0.35rem;
  text-align: center;
  background: transparent;
}
.site-footer a { color: #3a3a3a; }
.site-footer .sep { opacity: 0.5; }

.pill-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(19.4rem, calc(100% - 2rem));
  height: 3.4rem;
  margin: 0 auto;
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius-pill);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.pill-btn:active { transform: scale(0.98); opacity: 0.92; }

.legal-page {
  background: #fff8fc;
  color: var(--body);
}
.legal-page .app-shell { padding: 1.25rem 1.25rem 2.5rem; }
.legal-page h1 {
  font-size: 1.4rem;
  color: var(--plum);
  margin: 0.5rem 0 1rem;
}
.legal-page h2 {
  font-size: 1.05rem;
  margin: 1.4rem 0 0.5rem;
  color: var(--ink);
}
.legal-page p, .legal-page li {
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0.4rem 0;
}
.legal-page .back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--plum);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}
