/*
  The coming soon page of casinotan.ca: the dark band of the site's header and top section, its
  wordmark (Barlow Condensed 800, capitals) and its body type (Inter), with the colours of
  site/src/styles/global.css. Everything is served from this folder: no external request.
  Fonts under the SIL Open Font License, see fonts/.
*/
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("fonts/barlow-condensed-latin-800-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
}

:root {
  color-scheme: dark;
  --color-band: #0b1d13;
  --color-on-band: #ffffff;
  --color-on-band-2: #c9d6cd;
  --color-accent: #6fe07c;
  --color-band-line: #2c4536;
  --font-sans: "Inter Variable", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", ui-sans-serif, system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  display: grid;
  min-height: 100vh;
  min-height: 100dvh;
  place-items: center;
  padding: 24px 16px;
  background: var(--color-band);
  color: var(--color-on-band-2);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}

main {
  display: grid;
  gap: 16px;
  width: 100%;
  max-width: 36rem;
  text-align: center;
  overflow-wrap: anywhere;
}

p,
h1 {
  margin: 0;
}

.wordmark {
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--color-on-band);
}

.line {
  font-size: 1.125rem;
}

/*
  The text under the two lines: three short blocks in English, then the same three in French, each a
  heading in the wordmark's type and a sentence or two. A hairline of the band and space set the
  French part apart; the lang attribute names it, so no visible label.
*/
.more {
  display: grid;
  gap: 8px;
  /* Paragraphs of 50 to 70 words read better aligned left; the wordmark and the two lines stay centred. */
  text-align: left;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--color-band-line);
}
.more h2 {
  margin: 16px 0 0;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.15;
  color: var(--color-on-band);
}
.more h2:first-child {
  margin-top: 0;
}

/* Links on the dark band, as on the site's band: the accent green, underlined, white under the pointer. */
a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
a:hover {
  color: var(--color-on-band);
}
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}
