@font-face {
  font-family: "DIN";
  src: url("/fonts/DINReg.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DIN";
  src: url("/fonts/DINMed.woff2") format("woff2");
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DIN Stencil";
  src: url("/fonts/DINStencil.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DIN Stencil";
  src: url("/fonts/DINStencilBold30.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f7f6f3;
  --ink: #1c1c1a;
  --muted: #6d6a63;
  --rule: #dedbd3;
  --accent: #b0431f;
  --max: 40rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161614;
    --ink: #e8e6e0;
    --muted: #97948c;
    --rule: #2d2c28;
    --accent: #e07a50;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "DIN", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
}

header.site, main, footer.site {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

header.site {
  padding-top: 3rem;
  padding-bottom: 1.5rem;
}

.wordmark {
  font-family: "DIN Stencil", "DIN", sans-serif;
  font-size: 1.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
}

nav.site {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

nav.site a {
  color: var(--muted);
  text-decoration: none;
  margin-right: 1.25rem;
}

nav.site a:hover, nav.site a[aria-current] { color: var(--accent); }

main { padding-bottom: 4rem; }

h1 {
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin: 2.5rem 0 0.5rem;
}

h2 {
  font-size: 1.2rem;
  font-weight: 500;
  margin: 2.25rem 0 0.5rem;
}

.meta {
  color: var(--muted);
  margin: 0 0 2rem;
}

p, li { color: var(--ink); }

strong { font-weight: 500; }

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

hr {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 2.5rem 0;
}

footer.site {
  border-top: 1px solid var(--rule);
  padding-top: 1.5rem;
  padding-bottom: 3rem;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

footer.site a { color: var(--muted); }

.apps { list-style: none; padding: 0; }
.apps li { margin: 1.25rem 0; }
.apps .name { font-size: 1.15rem; font-weight: 500; }
.apps .desc { color: var(--muted); display: block; }

body.splash {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #2b2a27;
}

main.splash {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem 0;
}

.splash-wordmark {
  font-family: "DIN Stencil", "DIN", sans-serif;
  font-weight: 700;
  font-size: clamp(2.6rem, 9vw, 6.5rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0;
  text-align: center;
  color: #e8622c;
}

footer.splash {
  text-align: center;
  padding: 0 1.25rem 2.5rem;
}

.splash-nav {
  font-size: 0.67rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.splash-nav a {
  color: #f4f2ed;
  text-decoration: none;
  margin: 0 1.25rem;
}

.splash-nav a:hover { color: #e8622c; }

.splash-legal {
  margin-top: 2.5rem;
  color: #8b877e;
  font-size: 0.5625rem;
  letter-spacing: 0.04em;
}

.splash-legal a {
  color: #8b877e;
  text-decoration: none;
  font-weight: 500;
}

.splash-legal a:hover { color: #e8622c; }
