/* Mythic Realms colours and type, mirroring theme/index.ts in the app. */
@font-face { font-family: 'Big Shoulders Display'; font-weight: 900; font-display: swap; src: url('fonts/BigShouldersDisplay_900Black.ttf') format('truetype'); }
@font-face { font-family: 'Alegreya Sans'; font-weight: 400; font-display: swap; src: url('fonts/AlegreyaSans_400Regular.ttf') format('truetype'); }
@font-face { font-family: 'Alegreya Sans'; font-weight: 800; font-display: swap; src: url('fonts/AlegreyaSans_800ExtraBold.ttf') format('truetype'); }
@font-face { font-family: 'Alegreya'; font-weight: 400; font-display: swap; src: url('fonts/Alegreya_400Regular.ttf') format('truetype'); }
@font-face { font-family: 'Alegreya'; font-weight: 400; font-style: italic; font-display: swap; src: url('fonts/Alegreya_400Regular_Italic.ttf') format('truetype'); }

:root {
  --blue: #005DDA;
  --dough: #E6E6E3;
  --light: #F1F1EE;
  --body: #1A2B4A;
  --border: 1.6px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--dough);
  color: var(--body);
  font-family: 'Alegreya', Georgia, serif;
  font-size: 19px;
  line-height: 1.65;
}

header {
  background: var(--blue);
  color: var(--light);
  border-radius: 0 0 32px 32px;
  padding: 40px 20px 36px;
}
header .inner, main { max-width: 680px; margin: 0 auto; }
.wordmark, .eyebrow, h2, .button {
  font-family: 'Alegreya Sans', system-ui, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
}
.wordmark { font-size: 15px; letter-spacing: 2px; text-decoration: none; color: inherit; }
h1, h2 { color: var(--blue); }
h1 {
  font-family: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: clamp(52px, 14vw, 84px);
  line-height: 1.05; /* never below 1.05: the display face is taller than its em box */
  margin: 18px 0 8px;
  color: var(--light);
}
header p { margin: 0; font-family: 'Alegreya Sans', system-ui, sans-serif; font-size: 17px; }

main { padding: 28px 20px 56px; }
h2 { font-size: 14px; letter-spacing: 2px; margin: 36px 0 8px; }
.card {
  background: var(--light);
  border: var(--border) solid var(--blue);
  border-radius: 24px;
  padding: 4px 22px;
  margin: 24px 0;
}
a { color: var(--blue); }
ul { padding-left: 1.2em; }
li { margin: 4px 0; }
.meander {
  height: 10px;
  margin: 28px 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='10'%3E%3Cpath d='M0 9.5H18M1.5 9.5V0.8H13.5V7.2H6V3.6H10' fill='none' stroke='%23005DDA' stroke-width='1.3'/%3E%3C/svg%3E") repeat-x;
}
.button {
  display: inline-block;
  background: var(--blue);
  color: var(--light);
  text-decoration: none;
  font-size: 16px;
  letter-spacing: 1px;
  padding: 16px 28px;
  border-radius: 999px;
}
footer { font-family: 'Alegreya Sans', system-ui, sans-serif; font-size: 15px; color: var(--blue); padding-top: 12px; }
strong { font-family: 'Alegreya Sans', system-ui, sans-serif; font-weight: 800; color: var(--blue); }
