@import "altimum-brand.css";

:root {
  color: var(--altimum-ink);
  background: var(--altimum-paper);
  font-family: var(--altimum-interface-font);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}
html {
  min-height: 100%;
  background: var(--altimum-paper);
}

body {
  display: flex;
  min-height: 100svh;
  margin: 0;
  flex-direction: column;
  background: var(--altimum-paper);
}

a {
  color: inherit;
  text-underline-offset: 3px;
}

a:focus-visible {
  outline: 2px solid var(--altimum-ink);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 7px;
  background: var(--altimum-ink);
  color: #fff;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
.site-footer {
  display: flex;
  width: min(100% - 44px, 1180px);
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
}

.site-header {
  min-height: 76px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.025em;
  font-family: var(--altimum-brand-font);
  text-decoration: none;
}

.site-brand img {
  display: block;
  width: 16px;
  height: 26px;
}

.home-link,
.site-footer {
  color: var(--altimum-muted);
  font-size: 12px;
}

main {
  width: min(100% - 44px, 720px);
  flex: 1 0 auto;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 92px) 0 100px;
}

h1 {
  margin: 0 0 58px;
  font-size: clamp(48px, 8vw, 78px);
  font-weight: 650;
  line-height: 0.95;
  letter-spacing: -0.035em;
  font-family: var(--altimum-brand-font);
}

section {
  margin-bottom: 42px;
}
section:last-child {
  margin-bottom: 0;
}

h2 {
  margin: 0 0 12px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.012em;
}

p,
li {
  color: #484846;
  font-size: 15px;
  line-height: 1.7;
}

p {
  margin: 0 0 14px;
}
p:last-child {
  margin-bottom: 0;
}
ul {
  margin: 0 0 18px;
  padding-left: 1.2em;
}
li {
  margin-bottom: 9px;
  padding-left: 0.25em;
}
main a:hover {
  color: var(--altimum-ink);
}

.site-footer {
  flex: 0 0 auto;
  padding: 28px 0 38px;
}

@media (max-width: 560px) {
  .site-header,
  .site-footer,
  main {
    width: min(100% - 40px, 720px);
  }
  main {
    padding-top: 44px;
  }
  h1 {
    margin-bottom: 46px;
  }
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}
