:root {
  color-scheme: light dark;
  --bg: #101722;
  --panel: #f8f3e8;
  --text: #f9fafb;
  --muted: #aab4c3;
  --accent: #ff6247;
  --teal: #13b9ad;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}

a {
  color: inherit;
}

nav {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(20px, 5vw, 64px);
}

nav span {
  display: flex;
  gap: 18px;
}

.hero {
  min-height: 100svh;
  background: #101722 url("/assets/baklater-icon.png") right 8vw bottom 4vw / min(46vw, 560px) auto no-repeat;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16, 23, 34, 0.98) 0%, rgba(16, 23, 34, 0.82) 48%, rgba(16, 23, 34, 0.28) 100%);
  pointer-events: none;
}

.hero > * {
  position: relative;
}

.hero section {
  max-width: 850px;
  padding: clamp(64px, 12vw, 148px) clamp(20px, 5vw, 64px);
}

.eyebrow {
  color: var(--teal);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(48px, 8vw, 96px);
  line-height: 0.98;
  letter-spacing: 0;
}

.lede {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(20px, 3vw, 30px);
  line-height: 1.35;
}

.sub {
  color: var(--accent);
  font-weight: 700;
  font-size: 20px;
}

.doc {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 20px 80px;
  color: #17202c;
  background: var(--panel);
  min-height: 100svh;
}

.doc h1 {
  font-size: clamp(36px, 7vw, 64px);
  margin: 28px 0 12px;
}

.doc h2 {
  margin-top: 32px;
}

.doc p {
  color: #3d4958;
  line-height: 1.65;
}

.doc a {
  color: #087f78;
}

@media (max-width: 720px) {
  nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    background-position: center bottom 24px;
    background-size: min(78vw, 360px) auto;
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(16, 23, 34, 0.98) 0%, rgba(16, 23, 34, 0.88) 58%, rgba(16, 23, 34, 0.42) 100%);
  }

  .hero section {
    padding-bottom: 380px;
  }
}
