/* Shared fonts, navigation, controls and footer. */
:root {
  --orange: #e87708;
  --ease: cubic-bezier(.22,1,.36,1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  line-height: normal;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

button,
a {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

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

button:focus-visible,
a:focus-visible {
  outline: 3px solid #e87708;
  outline-offset: 5px;
}

button:disabled {
  cursor: default;
}

button {
  color: inherit;
}

.site-header {
  height: 82px;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(16px);
}

.wordmark {
  display: flex;
  align-items: center;
  font-family: 'Geist',sans-serif;
}

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

.button {
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 17px 23px;
  font-size: 14px;
  transition: transform .2s,background .2s;
}

.button:hover {
  transform: translateY(-2px);
}

h1 {
  font-family: 'Geist',sans-serif;
  font-size: clamp(40px,5.4vw,76px);
  line-height: 1.08;
  margin: 0;
}

@media (min-width:761px) and (max-height:800px) {
  h1 {
    font-size: 54px;
  }
}

@media (max-width:760px) {
  .site-header {
    height: 70px;
    padding: 0 6%;
  }

  .site-header nav>a {
    display: none;
  }

  .button.small {
    font-size: 11px;
  }

  h1 {
    font-size: clamp(38px,8.7vw,58px);
  }
}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@font-face {
  font-family: 'Geist';
  src: url('/month-end-prototype/_assets/geist-variable.2ffebe993e969069.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: 'IBM Plex Mono';
  src: url('/month-end-prototype/_assets/ibm-plex-mono-latin-500.a76f53ca6612e7b3.woff2') format('woff2');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  --ink: #18181b;
  --muted: #62626b;
  --paper: #fafafa;
  --line: #18181b24;
  --brand: #6160ff;
  --green: #009767;
  --grey: #c9c9d0;
}

body {
  font-family: 'Geist', Arial, sans-serif;
}

button:focus-visible,
a:focus-visible {
  outline-color: var(--brand);
}

.site-header {
  background: #fafafaf5;
  border-bottom-color: var(--line);
  padding-inline: max(5%, calc((100vw - 1380px) / 2));
}

.wordmark {
  gap: 11px;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: .02em;
}

.wordmark img {
  width: 31px;
  height: 29px;
  object-fit: contain;
}

.site-header nav {
  gap: 32px;
  font-size: 13px;
  font-weight: 500;
}

.button {
  border-radius: 0;
  font-weight: 500;
}

.button.small {
  min-height: 44px;
  padding: 12px 18px;
}

.button span[aria-hidden] {
  font-size: 17px;
  line-height: 1;
}

h1 {
  font-weight: 500;
  letter-spacing: -.045em;
}

@media (max-width: 760px) {
  .site-header {
    padding-inline: 6%;
  }

  .wordmark {
    font-size: 18px;
    gap: 8px;
  }

  .wordmark img {
    width: 27px;
    height: 25px;
  }

  .site-header nav {
    gap: 0;
  }

  .site-header nav > .button {
    display: inline-flex;
    font-size: 12px;
    padding: 10px 12px;
    gap: 16px;
  }
}

:root {
  --header-height: 97px;
}

html {
  scroll-padding-top: calc(var(--header-height) + 6px);
}

.site-header.athena-header {
  height: var(--header-height);
  padding: 26px 5.5%;
  border-bottom: 1px solid transparent;
  background: transparent;
  backdrop-filter: none;
  transition: background .25s, border-color .25s;
}

.athena-header.is-scrolled {
  background: var(--paper);
  border-bottom-color: var(--line);
  backdrop-filter: none;
}

.athena-header .wordmark img {
  width: 32px;
  height: 33px;
}

.athena-header nav {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 14px;
  font-weight: 400;
}

.athena-header nav a:hover {
  color: var(--brand);
}

.athena-social {
  display: flex;
  align-items: center;
  gap: 8px;
}

.athena-social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
}

.athena-social a:hover {
  background: #18181b08;
}

.athena-social svg {
  display: block;
  flex-shrink: 0;
}

.athena-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  background: transparent;
  font-size: 14px;
  font-weight: 400;
}

.athena-nav-cta:hover {
  border-color: var(--brand);
}

.athena-menu-toggle {
  display: none;
}

.athena-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 25px 7%;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.athena-footer > span,
.athena-footer-legal a {
  font-family: 'Geist',Arial,sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--muted);
}

.athena-footer-legal {
  display: flex;
  align-items: center;
  gap: 28px;
}

.athena-footer-legal a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.athena-footer-legal a:hover {
  color: var(--brand);
}

@media (max-width:760px) {
  :root {
    --header-height: 74px;
  }

  .site-header.athena-header {
    padding: 15px 6%;
  }

  .athena-header .wordmark {
    font-size: 20px;
  }

  .athena-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 8px;
    border: 1px solid var(--line);
    background: transparent;
  }

  .athena-header nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 20px 6%;
    max-height: calc(100dvh - var(--header-height));
    overflow-y: auto;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
  }

  .athena-header nav.is-open {
    display: flex;
  }

  .athena-header nav > a {
    display: flex;
    align-items: center;
    min-height: 44px;
  }

  .athena-header .athena-nav-cta {
    justify-content: space-between;
  }

  .athena-social {
    gap: 14px;
  }

  .athena-social a {
    width: 44px;
    height: 44px;
  }

  .athena-footer {
    flex-wrap: wrap;
    padding: 18px 7%;
    gap: 8px 20px;
  }

  .athena-footer-legal {
    gap: 22px;
  }
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 12px 18px;
  background: #fff;
  color: var(--ink);
  border: 2px solid var(--brand);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: none;
}
