@font-face {
  font-family: "DM Sans Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 1000;
  src: url("assets/fonts/dm-sans-latin-standard-normal.woff2") format("woff2-variations");
  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: "Instrument Serif";
  font-style: italic;
  font-display: swap;
  font-weight: 400;
  src: url("assets/fonts/instrument-serif-latin-400-italic.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("assets/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --bg: #f2f1eb;
  --ink: #171917;
  --label: #565b53;
  --rule: #c5c8bd;
  --pad-x: 20px;
  --pad-y: 24px;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #171917;
    --ink: #f2f1eb;
    --label: #b7b9b0;
    --rule: #4b5047;
  }
}

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

html {
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  padding: var(--pad-y) var(--pad-x);
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.4 "DM Sans Variable", Arial, sans-serif;
  font-optical-sizing: auto;
  font-synthesis: none;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  border: 0;
}

.for-dark {
  display: none;
}

.site-header,
.site-footer,
.brand,
.wordmark,
.making,
.status,
.support {
  margin: 0;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.wordmark {
  font: 400 16px/1 "DM Sans Variable", Arial, sans-serif;
  font-optical-sizing: auto;
}

.making,
.status {
  color: var(--label);
  font: 400 12px/1 "IBM Plex Mono", monospace;
  letter-spacing: normal;
}

.making {
  display: none;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  padding: 32px 0;
}

h1 {
  margin: 0;
  font-size: 0;
  font-weight: 400;
}

.coming,
.soon {
  display: block;
  white-space: nowrap;
}

.coming {
  font-family: "DM Sans Variable", Arial, sans-serif;
  font-size: 88px;
  font-style: normal;
  font-weight: 400;
  line-height: 0.9;
  font-optical-sizing: auto;
  letter-spacing: normal;
}

.soon {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 142px;
  font-style: italic;
  font-weight: 400;
  line-height: 0.82;
  letter-spacing: normal;
}

.support {
  max-width: 18rem;
  color: var(--ink);
  font: 400 16px/1.4 "DM Sans Variable", Arial, sans-serif;
  font-optical-sizing: auto;
}

.mark-slot {
  align-self: flex-end;
}

.site-footer {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--rule);
  padding-top: 16px;
}

@media (min-width: 1440px) {
  :root {
    --pad-x: 56px;
    --pad-y: 48px;
  }

  .making {
    display: block;
  }

  main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 177px;
    grid-template-areas:
      "headline mark"
      "headline support";
    align-content: center;
    column-gap: 48px;
    row-gap: 16px;
    padding: 48px 0;
  }

  h1 {
    grid-area: headline;
    align-self: start;
  }

  .coming {
    font-size: 192px;
    line-height: 192px;
  }

  .soon {
    font-size: 256px;
    line-height: 0.82;
  }

  .mark-slot {
    grid-area: mark;
    align-self: start;
    justify-self: end;
  }

  .support {
    grid-area: support;
    align-self: start;
    justify-self: end;
    width: 177px;
    max-width: 177px;
    text-align: right;
  }
}

@media (prefers-color-scheme: dark) {
  .for-light {
    display: none;
  }

  .for-dark {
    display: block;
  }
}
