/* D-DIN Condensed Regular and Bold
   Copyright 2017 Datto, Inc. Reserved Font Name D-DIN Condensed.
   Licensed under the SIL Open Font License 1.1. See fonts/OFL.txt. */

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

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

:root {
  --bg: #FFFFFF;
  --ink: #111111;
  --muted: #737373;
  --icon: #555555;
  color-scheme: light;
}

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

html {
  background: #FFFFFF;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto minmax(32px, 1fr);
  background: #FFFFFF;
  color: var(--ink);
  font-family: "D-DIN Condensed", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-synthesis: none;
  line-height: 1.5;
  padding-top: env(safe-area-inset-top);
  padding-right: max(24px, env(safe-area-inset-right));
  padding-left: max(24px, env(safe-area-inset-left));
}

h1,
p,
ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

::selection {
  background: var(--ink);
  color: var(--bg);
}

.skip {
  position: absolute;
  left: max(24px, env(safe-area-inset-left));
  top: env(safe-area-inset-top);
  padding: 0.5rem 0.75rem;
  background: var(--bg);
  color: var(--ink);
  transform: translateY(-150%);
  z-index: 2;
}

.skip:focus {
  transform: none;
}

:focus {
  outline: none;
}

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

main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  width: 100%;
}

main:focus,
main:focus-visible {
  outline: none;
}

.lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, 20rem);
  max-width: 100%;
  text-align: center;
}

.logo {
  width: clamp(112px, 12vw, 176px);
  max-width: 100%;
  height: auto;
  line-height: 0;
}

.logo svg {
  display: block;
  width: 100%;
  height: auto;
}

.name {
  margin: 24px 0 0;
  color: var(--ink);
  font-family: "D-DIN Condensed", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(24px, 2vw, 30px);
  line-height: 1.15;
  letter-spacing: 0;
  text-align: center;
}

.social {
  display: none;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  margin-top: 28px;
}

.social:has(a) {
  display: flex;
}

.social-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  color: var(--icon);
  background: transparent;
  border: 0;
  text-decoration: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: color 150ms linear;
}

.social-btn svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: currentColor;
}

.social-btn:hover,
.social-btn:focus-visible {
  color: var(--ink);
}

.bottom {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 32px;
}

.footer {
  padding-bottom: calc(24px + env(safe-area-inset-bottom));
  color: var(--muted);
  font-family: "D-DIN Condensed", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
