/* Lollipunks site: the game menu's look. Fonts load from this site only (no Google Fonts, no other hosts). */
@font-face { font-family: "Roboto"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/Roboto-Regular.ttf") format("truetype"); }
@font-face { font-family: "Roboto"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/Roboto-Bold.ttf") format("truetype"); }
@font-face { font-family: "Roboto"; font-weight: 900; font-style: normal; font-display: swap; src: url("fonts/Roboto-Black.ttf") format("truetype"); }

:root {
  --navy: #1B1B3A;
  --panel: #2D3057;
  --edge: #14142B;
  --yellow: #FFD23F;
  --orange: #FF8C42;
  --white: #FFFFFF;
  --soft: #D9DBF2;
}

* { box-sizing: border-box; }

html { background: var(--navy); }

body {
  margin: 0;
  background: var(--navy);
  color: var(--white);
  font-family: "Roboto", "Segoe UI", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

a { color: var(--yellow); text-underline-offset: 3px; }
a:hover { color: var(--orange); }
a:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 980px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }

/* Header bar */
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; font-weight: 900; font-size: 22px; letter-spacing: 0.5px; }
.brand img { width: 44px; height: 44px; border-radius: 10px; }
.bar nav a { font-weight: 700; text-decoration: none; }

/* Chunky outlined titles, like the logo */
.chunky {
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.5px;
  -webkit-text-stroke: 6px var(--edge);
  paint-order: stroke fill;
}

/* Landing page */
.hero { text-align: center; padding: 24px 0 40px; }
.hero .logo { width: min(340px, 72vw); height: auto; border-radius: 28px; box-shadow: 0 10px 0 var(--edge); }
.hero h1 { font-size: clamp(34px, 6vw, 58px); color: var(--yellow); margin: 34px 0 10px; }
.hero h1 span { color: var(--orange); }
.hero p.lead { font-size: clamp(19px, 2.4vw, 23px); color: var(--soft); max-width: 680px; margin: 0 auto; }
.pill { display: inline-block; margin-top: 22px; padding: 8px 18px; border-radius: 999px; background: var(--panel); border: 3px solid var(--edge); font-weight: 700; color: var(--yellow); font-size: 16px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin: 10px 0 30px; }

.panel {
  background: var(--panel);
  border: 4px solid var(--edge);
  border-radius: 18px;
  padding: 22px 24px;
}
.panel h2, .panel h3 { margin: 0 0 8px; }
.card h2 { font-size: 24px; color: var(--yellow); }
.card:nth-child(2) h2 { color: var(--orange); }
.card p { margin: 0; color: var(--soft); }

.join { margin: 0 0 40px; }
.join h2 { font-size: 26px; color: var(--orange); }
.join p { margin: 8px 0 0; }

/* Policy page */
.policy h1 { font-size: clamp(32px, 5vw, 46px); color: var(--yellow); margin: 18px 0 4px; }
.updated { color: var(--soft); margin: 0 0 26px; }
.policy .panel { margin: 0 0 20px; }
.policy h2 { font-size: 24px; color: var(--orange); }
.policy h3 { font-size: 19px; color: var(--yellow); margin: 18px 0 4px; }
.policy p { margin: 8px 0; }
.policy ul { margin: 8px 0; padding-left: 24px; }
.policy li { margin: 6px 0; }
.policy strong { color: var(--white); }
.short li::marker { color: var(--yellow); }

/* Visible until the owner fills it in */
.todo { background: var(--yellow); color: var(--navy); font-weight: 700; padding: 0 6px; border-radius: 4px; }

footer { border-top: 3px solid var(--panel); margin-top: 20px; padding: 22px 0 40px; color: var(--soft); font-size: 16px; }
footer p { margin: 4px 0; }

@media (max-width: 560px) {
  body { font-size: 17px; }
  .chunky { -webkit-text-stroke: 4px var(--edge); }
  .panel { padding: 18px; }
}
