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

body {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  background: #ffffff;
  color: #1a1a1a;
  -webkit-font-smoothing: antialiased;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 0 20px;
  background: #ffffff;
  gap: 20px;
  z-index: 10;
}

/* Logo — SVG has ~38% transparent top and ~41% transparent bottom.
   We display it large and use negative margins to crop that space. */
.logo img {
  width: 140px;
  display: block;
  margin-top: -22px;
  margin-bottom: -24px;
}

nav {
  display: flex;
  gap: 40px;
}

nav a {
  font-size: 16px;
  font-weight: 200;
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.2s;
}

nav a:hover,
nav a.active,
.subnav-list a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 0.5px;
}

html, body {
  height: 100%;
}

body.no-scroll {
  overflow: hidden;
}

main {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.subnav-list {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.subnav-list a {
  font-size: 16px;
  font-weight: 200;
  color: #1a1a1a;
  text-decoration: none;
}

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 24px 48px;
  font-size: 14px;
  font-weight: 200;
  color: #1a1a1a;
  background: #ffffff;
  z-index: 10;
}

footer a {
  color: #1a1a1a;
  text-decoration: none;
}

.footer-left {
  display: flex;
  gap: 32px;
}

.footer-right {
  display: flex;
  gap: 32px;
}

.back-to-top {
  position: fixed;
  top: 50%;
  right: 48px;
  transform: translateY(-50%);
  font-size: 14px;
  font-weight: 200;
  color: #555;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 0.5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: 'Inter', sans-serif;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.hero-text {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 680px;
  padding: 0 40px;
}

.hero-text h1 {
  font-size: 15px;
  font-weight: 300;
  color: #1a1a1a;
}

.hero-text p {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: #1a1a1a;
}
