/* Loopy site: the game's cream board, ink outlines and sunny yellow. */
:root {
  --bg: #f3ead7;
  --card: #fffaf0;
  --ink: #2a1f33;
  --sub: #6b5d70;
  --line: #2a1f33;
  --yellow: #ffc83d;
  --teal: #2fc6a5;
  --link: #1f6fd1;
  --display: "Lilita One", "Arial Rounded MT Bold", system-ui, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1b1520;
    --card: #262030;
    --ink: #f6efe2;
    --sub: #b8acbd;
    --line: #0d0a10;
    --link: #7fb4ff;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.55 var(--body);
  padding: 32px max(16px, env(safe-area-inset-right)) 64px max(16px, env(safe-area-inset-left));
}
main { max-width: 720px; margin: 0 auto; display: grid; gap: 28px; }
a { color: var(--link); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.15; margin: 0; letter-spacing: .01em; text-wrap: balance; }
h1 { font-size: clamp(34px, 7vw, 48px); }
h2 { font-size: 26px; }
h3 { font-size: 19px; }
p, ul { margin: 0; }
ul { padding-left: 22px; display: grid; gap: 6px; }
.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; color: inherit; }
.brand img { width: 72px; height: 72px; border-radius: 22.5%; border: 3px solid var(--line); }
.brand span { font-family: var(--display); font-size: 30px; }
.card {
  background: var(--card);
  border: 3px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 5px 0 var(--line);
  padding: 22px 24px;
  display: grid;
  gap: 12px;
}
.banner { width: 100%; height: auto; border-radius: 22px; border: 3px solid var(--line); display: block; }
.lead { font-size: 19px; color: var(--sub); }
.button {
  justify-self: start;
  display: inline-block;
  background: var(--yellow);
  color: #2a1f33;
  font-family: var(--display);
  font-size: 20px;
  text-decoration: none;
  padding: 10px 22px;
  border: 3px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 4px 0 var(--line);
}
.button:focus-visible, a:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.email { font-weight: 700; user-select: all; }
.muted { color: var(--sub); font-size: 15px; }
nav { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 15px; }
details { border-top: 2px dashed color-mix(in srgb, var(--line) 30%, transparent); padding-top: 12px; }
details:first-of-type { border-top: 0; padding-top: 0; }
summary { cursor: pointer; font-weight: 700; }
details p { margin-top: 8px; }
footer { text-align: center; }
