@font-face {
  font-family: "Noto Serif SC";
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: url("/landing/fonts/noto-serif-sc-200.woff2?v=2") format("woff2");
}

@font-face {
  font-family: "Noto Serif SC";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/landing/fonts/noto-serif-sc-400.woff2?v=2") format("woff2");
}

@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/landing/fonts/instrument-serif-400i.woff2?v=2") format("woff2");
}

:root {
  --bg: #070709;
  --ink: #f3ead8;
  --muted: rgba(243, 234, 216, 0.58);
  --quiet: rgba(243, 234, 216, 0.38);
  --line: rgba(243, 234, 216, 0.2);
  --hot: #ff9838;
  --serif: "Noto Serif SC", "Songti SC", "STSong", Palatino, "Palatino Linotype", serif;
  --italic: "Instrument Serif", Palatino, "Iowan Old Style", serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--serif);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  padding: 0.5rem 0.8rem;
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
}

.skip:focus {
  top: 1rem;
}

.hero {
  position: relative;
  isolation: isolate;
  height: 100svh;
  width: 100%;
  overflow: hidden;
  background: var(--bg);
}

.bh-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.overlay {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100svh;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.35rem 1.5rem 0;
}

.brand {
  color: var(--ink);
  text-decoration: none;
  font-weight: 200;
  font-size: 0.95rem;
  letter-spacing: 0.22em;
  margin-right: -0.22em;
}

.nav-links {
  display: flex;
  gap: 1.4rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  transition: color 0.25s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
}

.copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  max-width: 36rem;
  padding: 3.2rem 1.5rem 2rem;
  opacity: 0;
  animation: rise 1.05s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
}

.eyebrow {
  margin: 0 0 1.15rem;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--hot);
}

.copy h1 {
  margin: 0;
  font-size: clamp(1.7rem, 4.2vw, 2.45rem);
  font-weight: 200;
  line-height: 1.2;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.english {
  margin: 1.05rem 0 0;
  font-family: var(--italic);
  font-style: italic;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  color: var(--muted);
  letter-spacing: 0.01em;
}

.lede {
  margin: 1.5rem 0 0;
  max-width: 28rem;
  font-size: 0.98rem;
  font-weight: 400;
  line-height: 1.75;
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.82rem 1.45rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.btn-solid {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
}

.btn-solid:hover,
.btn-solid:focus-visible {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
  transform: translateY(-1px);
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--ink);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: rgba(243, 234, 216, 0.45);
  background: rgba(243, 234, 216, 0.05);
}

.foot {
  margin: 0;
  padding: 0 1.5rem 1.3rem;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  color: var(--quiet);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@media (min-width: 768px) {
  .nav {
    padding: 1.6rem 3.2rem 0;
  }

  .copy {
    justify-content: center;
    padding: 0 3.2rem 3rem;
  }

  .copy h1 {
    font-size: 2.45rem;
  }

  .foot {
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 0 3.2rem 1.5rem;
  }
}

@media (min-width: 1100px) {
  .nav,
  .copy,
  .foot {
    padding-left: 5rem;
    padding-right: 5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .copy {
    animation: none;
    opacity: 1;
  }

  .btn-solid:hover,
  .btn-solid:focus-visible {
    transform: none;
  }
}
