/* Card Arcade's website: white, with the logo's colours and its outlined,
   sticker-like shapes. Inter is served from /fonts, under the SIL Open Font
   License in fonts/OFL.txt. */

@font-face {
  font-family: "Inter";
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/Inter-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/Inter-SemiBold.woff2") format("woff2");
}
@font-face {
  font-family: "Inter Display";
  font-weight: 800;
  font-display: swap;
  src: url("/fonts/InterDisplay-ExtraBold.woff2") format("woff2");
}

:root {
  --ink: #15123a;
  --slate: #5b6080;
  --teal: #2ed3c6;
  --violet: #6c4bff;
  --pink: #ff4f7b;
  --amber: #ffc23d;
  --rule: #e4e4ee;
  --paper: #ffffff;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, sans-serif;
}

main {
  flex: 1;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 16px 48px;
}

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

/* The home page. */

.home {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.logo {
  width: 100%;
  max-width: 520px;
  height: auto;
}

.stickers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin: 24px 0 36px;
  padding: 0;
  list-style: none;
}

.sticker {
  display: inline-block;
  padding: 12px 24px;
  border: 3px solid var(--ink);
  border-radius: 999px;
  box-shadow: 0 5px 0 var(--ink);
  font: 800 26px/1 "Inter Display", "Inter", sans-serif;
  letter-spacing: -0.01em;
}

.deal {
  background: var(--pink);
  color: var(--paper);
  transform: rotate(-4deg);
}

.roll {
  background: var(--amber);
  color: var(--ink);
  transform: rotate(3deg);
}

.play {
  background: var(--violet);
  color: var(--paper);
  transform: rotate(-3deg);
}

.lede {
  max-width: 32em;
  margin: 0 0 16px;
  font-size: 19px;
}

.soon {
  margin: 0;
  color: var(--slate);
  font-weight: 600;
}

/* The privacy policy. */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  color: var(--ink);
  font: 800 22px/1 "Inter Display", "Inter", sans-serif;
  text-decoration: none;
}

.brand img {
  width: 44px;
  height: 44px;
}

h1,
h2 {
  font-family: "Inter Display", "Inter", sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

h1 {
  margin: 0 0 6px;
  font-size: 34px;
}

h2 {
  margin: 36px 0 8px;
  font-size: 21px;
}

.meta {
  margin: 0 0 28px;
  color: var(--slate);
}

.summary {
  padding: 4px 22px;
  border: 3px solid var(--ink);
  border-radius: 18px;
  box-shadow: 0 5px 0 var(--ink);
}

/* Every page. */

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  padding: 24px 16px 32px;
  border-top: 1px solid var(--rule);
  color: var(--slate);
  font-size: 15px;
}

footer a {
  color: var(--slate);
}
