/* The policy pages (privacy, terms, refunds): the landing page's beach palette, set for reading. */
@font-face { font-family: 'Baloo 2'; font-weight: 400 800; font-display: swap; src: url(play/fonts/baloo2-latin.woff2) format('woff2'); }
@font-face { font-family: 'Nunito'; font-weight: 200 1000; font-display: swap; src: url(play/fonts/nunito-latin.woff2) format('woff2'); }
:root {
  --sea: #2c6475; --sea-deep: #1d4a57; --foam: #e6f4f6;
  --sand: #f0dca6; --cream: #fffdf8; --play: #f5d54a; --play-hover: #ffe06a;
  --green-ink: #1f5a2c; --ink: #2a2320; --muted: #5a4e44;
  --display: 'Baloo 2', 'Arial Rounded MT Bold', 'Trebuchet MS', sans-serif;
  --body: 'Nunito', 'Segoe UI', system-ui, sans-serif;
  --gut: max(16px, env(safe-area-inset-left));
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--sand); color: var(--ink); font: 400 1.0625rem/1.7 var(--body); -webkit-font-smoothing: antialiased; }
a { color: var(--sea-deep); font-weight: 700; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1120px, 100% - 2 * var(--gut)); margin-inline: auto; }

header { background: var(--sea); border-bottom: 3px solid var(--sea-deep); padding-top: env(safe-area-inset-top); }
.bar { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font: 800 1.5rem/1 var(--display); }
.logo img { width: 40px; height: 40px; border-radius: 10px; }
.btn { margin-left: auto; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 3px solid var(--ink); border-radius: 13px;
  background: var(--play); color: var(--ink); font: 800 1.05rem/1 var(--display); text-decoration: none; box-shadow: 0 4px 0 var(--ink); }
.btn:hover { background: var(--play-hover); }

main { padding-block: 24px 64px; }
.doc { max-width: 46rem; margin-inline: auto; background: var(--cream); border: 2.5px solid var(--ink); border-radius: 18px; padding: clamp(22px, 5vw, 48px); }
.draft { margin: 0 0 22px; padding: 12px 16px; border: 2px dashed #a3322a; border-radius: 12px; background: #fdeceb; color: #7a2019; font-weight: 700; font-size: .95rem; }
h1 { margin: 0 0 4px; font: 800 clamp(2rem, 5vw, 2.7rem)/1.1 var(--display); text-wrap: balance; }
.meta { margin: 0 0 26px; color: var(--muted); font-size: .95rem; }
.summary { margin: 0 0 30px; padding: 16px 20px; background: #dff3d9; border-radius: 14px; color: var(--green-ink); }
.summary p { margin: 0; }
.summary ul { margin: 8px 0 0; padding-left: 1.2em; }
h2 { margin: 34px 0 8px; font: 800 1.45rem/1.2 var(--display); text-wrap: balance; }
h3 { margin: 22px 0 4px; font: 800 1.1rem/1.3 var(--body); }
p, ul, ol { margin: 0 0 14px; }
li { margin-bottom: 6px; }
code { font: 600 .9em/1 Consolas, 'Courier New', monospace; background: #f3ead6; padding: 2px 5px; border-radius: 5px; overflow-wrap: anywhere; }
.ph { background: var(--play); padding: 0 4px; border-radius: 4px; font-weight: 800; }
.table { overflow-x: auto; margin: 0 0 16px; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; vertical-align: top; padding: 9px 10px; border-bottom: 1px solid #e3d6b8; }
th { font-weight: 800; background: #f6eedc; }

footer { background: var(--ink); color: #d9cfc4; padding: 36px 0 calc(28px + env(safe-area-inset-bottom)); }
.foot-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; padding-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,.14); }
.foot-brand { display: flex; align-items: center; gap: 10px; min-height: 44px; color: #fff; text-decoration: none; font: 800 1.35rem/1 var(--display); }
.foot-brand img { width: 34px; height: 34px; border-radius: 9px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.foot-links a { color: #efe7dd; text-decoration: none; font-weight: 700; padding: 8px 0; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 22px; padding-top: 18px; font-size: .85rem; color: #bdb1a4; }
.foot-legal { display: flex; gap: 4px 18px; }
.foot-legal a { color: #e3d9ce; font-weight: 700; text-decoration: none; padding: 4px 0; }
footer a:hover, .foot-legal a[aria-current] { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
footer :focus-visible { outline-color: #fff; }

.back { display: flex; align-items: center; gap: 6px; width: fit-content; max-width: 46rem; margin: 0 auto 14px; min-height: 44px; color: var(--ink); text-decoration: none; font-weight: 800; }
.back svg { width: 18px; height: 18px; }
.back:hover { text-decoration: underline; text-underline-offset: 4px; }
main > .back { margin-left: max(0px, calc((100% - 46rem) / 2)); }
@media (max-width: 560px) {
  thead { display: none; }
  tr { display: block; padding: 12px 0; border-bottom: 1px solid #e3d6b8; }
  td { display: block; border: 0; padding: 3px 0; }
  td:nth-child(2)::before { content: 'Sent: '; font-weight: 800; }
  td:nth-child(3)::before { content: 'Kept: '; font-weight: 800; }
}
