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

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

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/space-grotesk-latin.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  background: #16211c;
  color: #f5f3ed;
  font-family: "Space Grotesk", Helvetica, Arial, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
  background: #16211c;
}

body {
  min-width: 280px;
}

a {
  color: #f5f3ed;
  text-decoration: none;
}

a:hover {
  color: #8fb5a2;
}

.page-shell {
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(56px, 10vh, 120px);
  padding: clamp(28px, 4.5vw, 68px) clamp(28px, 5.5vw, 84px)
    clamp(26px, 4vw, 52px);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  animation: jabka-fade 700ms cubic-bezier(0.2, 0.7, 0.3, 1) both;
}

.brand-mark {
  display: block;
  flex: none;
  line-height: 0;
}

.brand-mark svg {
  display: block;
  width: clamp(30px, 3.4vw, 44px);
  height: auto;
}

.brand-mark path {
  fill: none;
  stroke: #f5f3ed;
  stroke-width: 4.6;
}

.brand-mark path:first-child,
.brand-mark path:nth-child(2) {
  stroke-linecap: round;
}

.brand-mark circle {
  fill: #f5f3ed;
}

.login-link {
  padding: 11px 20px;
  border: 1px solid rgb(245 243 237 / 28%);
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(10px, 0.82vw, 11.5px);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition:
    border-color 350ms cubic-bezier(0.2, 0.7, 0.3, 1),
    background-color 350ms cubic-bezier(0.2, 0.7, 0.3, 1),
    color 350ms cubic-bezier(0.2, 0.7, 0.3, 1);
}

.login-link:hover,
.login-link:focus-visible {
  border-color: #f5f3ed;
  background: #f5f3ed;
  color: #16211c;
}

.hero {
  display: flex;
  max-width: 1180px;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(18px, 2.6vw, 34px);
  text-align: left;
}

.hero h1,
.hero p {
  margin: 0;
}

.hero h1 {
  color: #f5f3ed;
  font-size: clamp(64px, 12.5vw, 184px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.84;
  animation: jabka-rise 900ms cubic-bezier(0.2, 0.7, 0.3, 1) 100ms both;
}

.tagline {
  color: #8fb5a2;
  font-size: clamp(24px, 4.2vw, 54px);
  font-weight: 500;
  letter-spacing: -0.022em;
  line-height: 1.1;
  text-wrap: pretty;
  animation: jabka-rise 900ms cubic-bezier(0.2, 0.7, 0.3, 1) 220ms both;
}

.description {
  max-width: 44ch;
  color: rgb(245 243 237 / 62%);
  font-size: clamp(15px, 1.55vw, 22px);
  font-weight: 400;
  letter-spacing: -0.005em;
  line-height: 1.5;
  text-wrap: pretty;
  animation: jabka-rise 900ms cubic-bezier(0.2, 0.7, 0.3, 1) 340ms both;
}

.site-footer {
  display: flex;
  padding-top: clamp(18px, 2vw, 26px);
  border-top: 1px solid rgb(245 243 237 / 14%);
  animation: jabka-fade 1s cubic-bezier(0.2, 0.7, 0.3, 1) 500ms both;
}

.site-footer a {
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(12.5px, 1.05vw, 14px);
  font-weight: 400;
  letter-spacing: 0.02em;
  transition: color 300ms cubic-bezier(0.2, 0.7, 0.3, 1);
}

@keyframes jabka-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes jabka-fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-height: 560px) {
  .page-shell {
    gap: 32px;
  }
}
