/*
 * getelcano.com's coming-soon page (docs/runbooks/coming-soon.md). A file, never inline: the
 * site's Content Security Policy allows styles from its own origin only.
 *
 * Fonts, self-hosted, Latin and Latin Extended: Fredoka for titles and Atkinson Hyperlegible
 * Next for words, copied from the web app's @fontsource-variable packages (SIL OFL 1.1, allowed
 * for fonts: scripts/licenses/policy.ts; each license is beside its files in fonts/).
 */
@font-face {
  font-family: "Fredoka";
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url("fonts/fredoka-latin-wght-normal.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308,
    U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fredoka";
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url("fonts/fredoka-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
    U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("fonts/atkinson-hyperlegible-next-latin-wght-normal.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308,
    U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("fonts/atkinson-hyperlegible-next-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
    U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --wash: #e8eef9;
  --ink: #1b2130;
  --ink-soft: #3b4354;
  --azul: #1f4e9c;
  --teal: #0b6e75;
  --sun: #f4b73f;
  --hill1: #90bbc4;
  --hill2: #4d949d;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
}
body {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--wash);
  color: var(--ink);
  font:
    18px / 1.55 "Atkinson Hyperlegible Next",
    "Atkinson Hyperlegible",
    system-ui,
    sans-serif;
}
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(40px, 9vh, 96px) 20px 24px;
  gap: 22px;
}
/* Before the class rules: an element selector after them would be less specific. */
footer {
  background: var(--teal);
  color: #fff;
  text-align: center;
  padding: 14px 20px calc(14px + env(safe-area-inset-bottom, 0px));
  font-size: 16px;
}
footer a {
  color: #fff;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--ink);
}
.brand svg {
  width: 64px;
  height: 64px;
}
.brand span {
  font:
    600 44px / 1 Fredoka,
    ui-rounded,
    "Avenir Next",
    sans-serif;
  letter-spacing: -0.5px;
}
h1 {
  margin: 18px 0 0;
  max-width: 15ch;
  font:
    600 clamp(38px, 6.4vw, 72px) / 1.08 Fredoka,
    ui-rounded,
    "Avenir Next",
    sans-serif;
  letter-spacing: -0.5px;
  text-wrap: balance;
}
h1 em {
  font-style: normal;
  color: var(--azul);
}
.lede {
  margin: 0;
  max-width: 34ch;
  font-size: clamp(18px, 2.2vw, 22px);
  color: var(--ink-soft);
}
.soon {
  margin: 6px 0 0;
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  background: #fff;
  border: 2px solid var(--azul);
  color: var(--azul);
  font-weight: 700;
}
.follow {
  margin: 8px 0 0;
  font-weight: 700;
}
.links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.links a,
.home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}
.links a:hover,
.home:hover {
  background: var(--azul);
}
/*
 * The sun ring, with an ink ring inside it: sun on the wash is only 1.5:1, so the ink ring
 * (13.8:1 on the wash) keeps the focus indicator at WCAG's 3:1 wherever it falls.
 */
a:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 3px;
  box-shadow: 0 0 0 3px var(--ink);
}
.scene {
  display: block;
  width: 100%;
  height: clamp(120px, 22vh, 240px);
}
