/* Temporary holding page for texobox.com, until the new site is published (docs/launch/holding-page.md).
   Colours and fonts are the site's tokens from src/styles/global.css. */
@font-face {
  font-family: 'Alice';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/alice.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/plex-sans.woff2') format('woff2');
}

:root {
  --ink: #16181d;
  --body: #3a3f48;
  --paper: #ffffff;
  --primary: #0b62c4;
  --primary-hover: #084c99;
  --focus: #0b62c4;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--paper);
  color: var(--body);
  font:
    17px/1.6 'IBM Plex Sans',
    system-ui,
    sans-serif;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 48px 24px;
  text-align: center;
}

h1 {
  margin: 0 0 32px;
  line-height: 0;
}

h1 img {
  width: 160px;
  height: auto;
}

p {
  margin: 0 0 12px;
  max-width: 32rem;
}

.tagline {
  color: var(--ink);
  font:
    28px/1.3 'Alice',
    Georgia,
    serif;
  margin-bottom: 16px;
}

.tagline-sub {
  color: var(--ink);
  margin-bottom: 20px;
}

.contact {
  margin-top: 16px;
}

.contact span {
  margin: 0 8px;
}

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

a:hover {
  color: var(--primary-hover);
}

a:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}

@media (min-width: 768px) {
  .tagline {
    font-size: 36px;
  }
}
