@font-face {
  font-family: "Geist";
  src: url("assets/fonts/Geist-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Exo 2";
  src: url("assets/fonts/Exo2-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #0e0f13;
  --foreground: #ffffff;
  --muted: rgba(255, 255, 255, 0.68);
  --orange: #f97316;
  --blue: #3b82f6;
  --page-inline: 72px;
  --page-block: 56px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: var(--background);
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background: var(--background);
  color: var(--foreground);
  font-family: "Geist", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.site-shell {
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 64px minmax(360px, 1fr) 96px;
  padding: var(--page-block) var(--page-inline);
}

.site-header {
  display: flex;
  align-items: center;
}

.wordmark {
  width: 126px;
  font-size: 24.14px;
  font-weight: 400;
  line-height: 1;
  text-align: left;
  white-space: nowrap;
}

.hero {
  width: 100%;
  height: 360px;
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
}

.brand-mark {
  display: block;
  width: 87px;
  height: 72.527px;
  flex: 0 0 auto;
}

.headline-row {
  width: min(1160px, 100%);
  min-height: 260px;
  display: flex;
  align-items: center;
}

h1 {
  width: min(1080px, 100%);
  margin: 0;
  font-family: "Exo 2", Arial, sans-serif;
  font-size: 64px;
  font-weight: 500;
  line-height: 69px;
  letter-spacing: -0.96px;
}

.headline-line {
  display: block;
}

h1 strong {
  color: var(--orange);
  font: inherit;
}

.site-footer {
  min-height: 96px;
  display: flex;
  align-items: flex-end;
}

.site-footer p {
  width: min(880px, 100%);
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 25px;
  letter-spacing: -0.085px;
}

.site-footer a {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: color 160ms ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #78a9ff;
}

.site-footer a:focus-visible {
  border-radius: 2px;
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

@media (max-width: 1199px) {
  :root {
    --page-inline: 48px;
    --page-block: 40px;
  }

  .site-shell {
    grid-template-rows: 56px minmax(330px, 1fr) 88px;
  }

  .hero {
    height: auto;
    min-height: 330px;
  }

  .brand-mark {
    width: 76px;
    height: auto;
  }

  .headline-row {
    min-height: 230px;
  }

  h1 {
    font-size: clamp(48px, 5.35vw, 64px);
    line-height: 1.08;
    letter-spacing: -0.015em;
  }
}

@media (max-width: 767px) {
  :root {
    --page-inline: 24px;
    --page-block: 28px;
  }

  .site-shell {
    grid-template-rows: 44px minmax(0, 1fr) auto;
    gap: 24px;
  }

  .wordmark {
    width: auto;
    font-size: 20px;
  }

  .hero {
    min-height: 0;
    gap: 22px;
  }

  .brand-mark {
    width: 62px;
    height: auto;
  }

  .headline-row {
    width: 100%;
    min-height: 0;
  }

  h1 {
    font-size: clamp(34px, 10.4vw, 52px);
    line-height: 1.07;
    letter-spacing: -0.02em;
  }

  .headline-line {
    display: inline;
  }

  .headline-line::after {
    content: " ";
  }

  .site-footer {
    min-height: auto;
  }

  .site-footer p {
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.004em;
  }

  .desktop-break {
    display: none;
  }
}

@media (max-width: 380px) {
  :root {
    --page-inline: 20px;
    --page-block: 24px;
  }

  h1 {
    font-size: 32px;
  }
}

@media (max-height: 700px) and (min-width: 768px) {
  :root {
    --page-block: 32px;
  }

  .site-shell {
    grid-template-rows: 48px minmax(280px, 1fr) 72px;
  }

  .hero {
    height: 300px;
    gap: 18px;
  }

  .brand-mark {
    width: 68px;
    height: auto;
  }

  .headline-row {
    min-height: 210px;
  }

  h1 {
    font-size: clamp(46px, 5.2vw, 58px);
    line-height: 1.07;
  }

  .site-footer {
    min-height: 72px;
  }
}

@media (max-height: 620px) and (max-width: 767px) {
  :root {
    --page-block: 18px;
  }

  .site-shell {
    gap: 14px;
  }

  .hero {
    gap: 14px;
  }

  .brand-mark {
    width: 48px;
  }

  h1 {
    font-size: clamp(29px, 8.6vw, 38px);
  }
}
