html {
  overflow-y: scroll;
}

:root {
  --apple-black: #1d1d1f;
  --brand-green: #19bf00;
  --text-grey: #86868b;
  --soft-grey: #f5f5f7;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  color: var(--apple-black);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-page {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 12px 0 10px;
}

.site-tabs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: var(--soft-grey);
  border: 1px solid rgba(29, 29, 31, 0.08);
}

.site-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 84px;
  padding: 11px 18px;
  border-radius: 999px;
  color: var(--text-grey);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.site-tab:hover {
  color: var(--apple-black);
}

.site-tab.is-active {
  background: var(--apple-black);
  color: #ffffff;
}

.site-brand {
  display: inline-flex;
  justify-content: center;
  padding: 12px 0;
  text-decoration: none;
}

.site-brand-image {
  display: block;
  width: min(388px, 66vw);
  height: auto;
}

@media (max-width: 768px) {
  .site-page {
    width: min(1200px, calc(100% - 28px));
  }

  .site-header {
    padding-top: 10px;
    gap: 10px;
  }

  .site-tabs {
    width: 100%;
    justify-content: center;
  }

  .site-brand-image {
    width: min(338px, 80vw);
  }
}
