/* Parcelton's site: the game's own colours and type (docs/brand/BRAND.md). */
:root {
  --ink: #1b2140;
  --navy: #232b52;
  --deep: #11162e;
  --cream: #fff4df;
  --paper: #fffdf6;
  --orange: #f4a340;
  --gold: #ffd25a;
  --green: #35c98a;
  --blue: #4b8df8;
  --muted: #5c6283;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--deep);
  color: var(--ink);
  font: 500 17px/1.6 "Rubik", system-ui, sans-serif;
}

a { color: var(--blue); }

.top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  padding: 16px 20px;
  background: var(--navy);
  border-bottom: 4px solid var(--ink);
}

.top a.home {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cream);
  text-decoration: none;
  font-family: "Lilita One", sans-serif;
  font-size: 22px;
  letter-spacing: .5px;
  white-space: nowrap;
}

.top img { width: 40px; height: 40px; border-radius: 10px; border: 2px solid var(--ink); }

.top nav { margin-left: auto; display: flex; gap: 14px; }

.top nav a { color: var(--cream); text-decoration: none; font-weight: 600; font-size: 15px; }

.top nav a:hover { color: var(--gold); }

.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  background: var(--deep) url("island.jpg") center / cover no-repeat;
}

.hero .panel {
  margin: 0 auto 40px;
  width: min(640px, calc(100% - 32px));
  padding: 28px;
  background: var(--navy);
  color: var(--cream);
  border: 4px solid var(--ink);
  border-radius: 24px;
  box-shadow: 0 8px 0 var(--ink);
  text-align: center;
}

h1, h2, .wordmark { font-family: "Lilita One", sans-serif; font-weight: 400; line-height: 1.15; }

.wordmark { margin: 0; font-size: clamp(40px, 9vw, 64px); color: var(--cream); text-shadow: 0 4px 0 var(--ink); }

.wordmark span { color: var(--orange); }

.hero p { margin: 12px 0 20px; font-size: 19px; }

.stores { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.button {
  display: inline-block;
  padding: 12px 22px;
  background: var(--orange);
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 16px;
  box-shadow: 0 4px 0 var(--ink);
  font-family: "Lilita One", sans-serif;
  font-size: 20px;
  text-decoration: none;
}

.button.quiet { background: var(--paper); }

.soon { margin-top: 12px; font-size: 14px; color: var(--gold); }

main.page {
  margin: 32px auto;
  width: min(760px, calc(100% - 32px));
  padding: 28px clamp(20px, 4vw, 40px);
  background: var(--paper);
  border: 4px solid var(--ink);
  border-radius: 24px;
  box-shadow: 0 8px 0 var(--ink);
}

main.page h1 { margin: 0 0 4px; font-size: 36px; }

main.page h2 { margin: 32px 0 8px; font-size: 24px; }

.dated { margin: 0 0 24px; color: var(--muted); font-size: 15px; }

main.page li { margin: 4px 0; }

table { width: 100%; border-collapse: collapse; font-size: 15px; }

th, td { text-align: left; vertical-align: top; padding: 8px; border-bottom: 1px solid #e6dcc6; }

th { background: var(--cream); }

.wide { overflow-x: auto; }

.features {
  margin: 0 auto;
  width: min(960px, calc(100% - 32px));
  padding: 40px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.features div {
  padding: 20px;
  background: var(--cream);
  border: 3px solid var(--ink);
  border-radius: 20px;
  box-shadow: 0 5px 0 var(--ink);
}

.features h2 { margin: 0 0 6px; font-size: 22px; }

.features p { margin: 0; }

footer {
  padding: 24px 20px 40px;
  color: var(--cream);
  text-align: center;
  font-size: 14px;
}

footer a { color: var(--cream); margin: 0 8px; }

/* On a phone a table's rows are read one under another. */
@media (max-width: 560px) {
  table tr:first-child { display: none; }
  table td { display: block; border-bottom: 0; padding: 2px 0; }
  table td:first-child { padding-top: 14px; }
  table tr td:last-child { padding-bottom: 14px; border-bottom: 1px solid #e6dcc6; color: var(--muted); }
}
