@font-face {
  font-family: "Exposure 20";
  src: url("/fonts/Exposure-20.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Suisse Intl";
  src: url("/fonts/SuisseIntl-Regular.woff2") format("woff2");
  font-display: swap;
}

:root {
  --paper: #efede8;
  --ink: #111111;
  --spring-settle: linear(
    0, 0.0229, 0.0788, 0.1532, 0.2361, 0.3208, 0.403, 0.4802, 0.5509, 0.6146, 0.6711, 0.7207, 0.7638, 0.801,
    0.8329, 0.8601, 0.8832, 0.9027, 0.9191, 0.9329, 0.9445, 0.9541, 0.9621, 0.9688, 0.9743, 0.9789, 0.9827,
    0.9858, 0.9884, 0.9905, 0.9922, 0.9936, 0.9948, 0.9958, 0.9965, 0.9972, 0.9977, 0.9981, 0.9985, 0.9988, 1
  );
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

html,
body {
  margin: 0;
}

body {
  background: var(--paper);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

@keyframes appear {
  from {
    opacity: 0.001;
  }
}

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  padding: 16px;
  animation: appear 1s var(--spring-settle) backwards;
}

.top {
  display: flex;
  justify-content: flex-end;
}

.top-careers {
  display: flex;
  align-items: center;
  height: 32px;
  padding: 0 12px;
  border-radius: 100px;
  background: #e0deda;
  font-family: "Suisse Intl", sans-serif;
  font-size: 14px;
  letter-spacing: -0.03em;
  transition:
    background-color 0.4s var(--spring-settle),
    color 0.4s var(--spring-settle);
}

.top-careers:hover {
  background: var(--ink);
  color: #ffffff;
}

.content {
  display: grid;
  grid-template-columns: minmax(0, 500px) minmax(0, 460px);
  justify-content: center;
  align-items: start;
  column-gap: 136px;
  margin: auto 0;
  padding: 48px 0;
}

.about-logo {
  margin: 0 0 28px;
}

.about-logo img {
  display: block;
  width: 154px;
  height: auto;
}

.about-text {
  margin: 0;
  font-family: "Exposure 20", serif;
  font-size: 20px;
  line-height: 1.38;
  letter-spacing: -0.02em;
  text-wrap: pretty;
}

.about-text + .about-text {
  margin-top: 1.25em;
}

.product {
  white-space: nowrap;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.2em;
}

.product-icon {
  width: 1.08em;
  height: 1.08em;
  margin-right: 0.24em;
  border-radius: 22.5%;
  vertical-align: -0.2em;
  transition: rotate 0.5s var(--spring-settle);
}

.work-title {
  margin: 0 0 28px;
  font-family: "Exposure 20", serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 38px;
  letter-spacing: -0.04em;
}

.work-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid rgb(17 17 17 / 0.12);
}

.app-icon {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 22.5%;
  transition: translate 0.6s var(--spring-settle);
}

.app-icon-bedlam {
  display: grid;
  place-items: center;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgb(17 17 17 / 0.1);
}

.work-words {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.work-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0 16px;
}

.work-name {
  font-family: "Exposure 20", serif;
  font-size: 22px;
  line-height: 1.2em;
  letter-spacing: -0.03em;
}

.work-address {
  color: rgb(17 17 17 / 0.45);
  font-family: "Suisse Intl", sans-serif;
  font-size: 14px;
  letter-spacing: -0.02em;
  transition: color 0.4s var(--spring-settle);
}

.work-description {
  color: rgb(17 17 17 / 0.72);
  font-family: "Suisse Intl", sans-serif;
  font-size: 16px;
  line-height: 145%;
  letter-spacing: -0.03em;
  text-wrap: pretty;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: -8px;
  padding: 0 0 20px 64px;
}

.app-store-badge img {
  display: block;
  width: 120px;
  height: 40px;
}

.play-store-badge img {
  display: block;
  width: auto;
  height: 60px;
  margin: -10px;
}

[data-store="ios"] .play-store-badge,
[data-store="android"] .app-store-badge {
  display: none;
}

.missing {
  margin: auto 0;
}

.missing h1 {
  margin: 0;
  font-family: "Exposure 20", serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 1.2em;
  letter-spacing: -0.04em;
  text-align: center;
}

.bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 48px;
  font-family: "Exposure 20", serif;
  font-size: 12px;
  line-height: 110%;
  letter-spacing: -0.02em;
}

.bottom-copyright {
  margin: 0;
}

.bottom-mark {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
}

.bottom-mark img {
  width: 28px;
  height: auto;
  rotate: 0deg;
  transition: rotate 0.75s var(--spring-settle);
}

.bottom-mark:hover img {
  rotate: 360deg;
}

.bottom-social {
  justify-self: end;
}

.bottom-social:hover {
  color: #262626;
  text-decoration: underline;
}

@media (hover: hover) {
  .product:hover .product-icon {
    rotate: -10deg;
  }

  .work-row:hover .app-icon {
    translate: 0 -2px;
  }

  .work-row:hover .work-address {
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 3px;
  }
}

@media (max-width: 899.98px) {
  .content {
    grid-template-columns: minmax(0, 560px);
    row-gap: 56px;
  }

  .work-title {
    margin-bottom: 12px;
  }
}

@media (max-width: 599.98px) {
  .content {
    padding-bottom: 32px;
  }

  .about-logo img {
    width: 130px;
  }

  .work-title {
    font-size: 24px;
  }

  .work-row {
    gap: 14px;
    padding: 16px 0;
  }

  .store-badges {
    padding: 0 0 16px 62px;
  }

  .work-name {
    font-size: 20px;
  }

  .work-address {
    display: none;
  }

  .work-description {
    font-size: 15px;
  }
}
