:root {
  --rose-deep: #1B0913;
  --rose: #FB3E72;
  --gold: #FFC93C;
  --paper: #FFF8FA;
  --ink: #2A1420;
  --muted: #6E5663;
  --line: #F1DCE4;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

a { color: #C81E52; text-underline-offset: 3px; }
a:hover { color: var(--rose); }
a:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3 {
  font-family: "Fredoka", "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--rose-deep);
}

/* Top band: the game's own Rose surface */
.band {
  background: var(--rose-deep);
  color: #fff;
}
.band-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.band img { width: auto; height: 44px; display: block; }
.band a { color: #fff; text-decoration: none; font-family: "Fredoka", sans-serif; font-weight: 600; font-size: 20px; }

main {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 24px 64px;
}

/* A second game on the home page */
.game { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }

.hero .game-name { font-size: clamp(40px, 8vw, 64px); margin: 0 0 8px; }
.hero .tagline { color: #B07A00; font-weight: 600; font-size: 20px; margin: 0 0 20px; }
.hero p { max-width: 60ch; }

.status {
  display: inline-block;
  margin-top: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--rose-deep);
  color: #fff;
  font-weight: 600;
}

/* Policy page */
.doc h1 { font-size: clamp(32px, 6vw, 44px); margin: 0 0 6px; }
.doc .updated { color: var(--muted); margin: 0 0 32px; }
.doc h2 { font-size: 24px; margin: 40px 0 10px; }
.doc h3 { font-size: 19px; margin: 24px 0 6px; }
.doc p, .doc li { max-width: 68ch; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }

.summary {
  border-left: 5px solid var(--rose);
  background: #fff;
  padding: 16px 20px;
  margin: 0 0 8px;
}
.summary p { margin: 0; }

.table-wrap { overflow-x: auto; margin: 12px 0; }
table { border-collapse: collapse; min-width: 560px; width: 100%; background: #fff; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid var(--line); font-size: 15px; }
th { background: #FBEFF3; font-weight: 600; }

footer {
  border-top: 1px solid var(--line);
  max-width: 760px;
  margin: 0 auto;
  padding: 20px 24px 40px;
  color: var(--muted);
  font-size: 15px;
}
footer a { margin-right: 18px; }

@media (max-width: 520px) {
  body { font-size: 16px; }
  main { padding-top: 28px; }
}

/* Contact page: the main call to action, a chunky button like the games' own */
.cta { margin: 0 0 8px; }
.mail-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 280px;
  padding: 16px 36px;
  border-radius: 18px;
  background: linear-gradient(180deg, #FF6A92 0%, var(--rose) 55%, #EE2F64 100%);
  color: #fff;
  font-family: "Fredoka", "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 600;
  font-size: 23px;
  line-height: 1;
  letter-spacing: 0.3px;
  text-decoration: none;
  text-shadow: 0 1px 0 rgba(120, 10, 45, 0.35);
  box-shadow: 0 6px 0 #B5164A, 0 12px 24px rgba(251, 62, 114, 0.35);
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}
.mail-button svg { flex: none; }
.mail-button:hover {
  color: #fff;
  filter: brightness(1.05);
  transform: translateY(-2px);
  box-shadow: 0 8px 0 #B5164A, 0 16px 28px rgba(251, 62, 114, 0.4);
}
.mail-button:active {
  transform: translateY(5px);
  box-shadow: 0 1px 0 #B5164A, 0 4px 10px rgba(251, 62, 114, 0.3);
}
.mail-button:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; border-radius: 18px; }
.cta-note { color: var(--muted); font-size: 15px; margin: 18px 0 0; overflow-wrap: anywhere; }
.cta-note strong { color: var(--ink); font-weight: 600; white-space: nowrap; }
@media (max-width: 520px) {
  .mail-button { display: flex; width: 100%; min-width: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .mail-button { transition: none; }
}
a.status { text-decoration: none; }
a.status:hover { color: #fff; background: #3A1428; }

/* Home page: the studio's introduction, before the games */
.intro { padding: 8px 0 44px; margin-bottom: 40px; border-bottom: 1px solid var(--line); }
.intro h1 { font-size: clamp(34px, 6.4vw, 52px); margin: 0 0 18px; max-width: 18ch; }
.intro .lead { font-size: 19px; max-width: 58ch; margin: 0 0 28px; }
.intro-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 16px;
  background: linear-gradient(180deg, #FF6A92 0%, var(--rose) 55%, #EE2F64 100%);
  color: #fff;
  font-family: "Fredoka", "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 600;
  font-size: 19px;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 5px 0 #B5164A, 0 10px 20px rgba(251, 62, 114, 0.3);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.button:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 7px 0 #B5164A, 0 14px 24px rgba(251, 62, 114, 0.35); }
.button:active { transform: translateY(4px); box-shadow: 0 1px 0 #B5164A, 0 4px 10px rgba(251, 62, 114, 0.25); }
.button-quiet { background: #fff; color: var(--rose-deep); box-shadow: 0 5px 0 var(--line), 0 0 0 2px var(--line) inset; }
.button-quiet:hover { color: var(--rose-deep); box-shadow: 0 7px 0 var(--line), 0 0 0 2px var(--line) inset; }
.button-quiet:active { box-shadow: 0 1px 0 var(--line), 0 0 0 2px var(--line) inset; }
.section-title { font-size: 15px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; scroll-margin-top: 16px; }
@media (max-width: 520px) {
  .intro .lead { font-size: 17px; }
  .intro-actions .button { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
}
