:root {
  color-scheme: light;
  --ink: #17211b;
  --muted: #526159;
  --paper: #f7f8f3;
  --line: #d9dfd1;
  --accent: #2f6f4f;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

.dev-switcher {
  position: fixed;
  z-index: 10;
  top: 12px;
  left: 50%;
  display: flex;
  gap: 6px;
  width: min(calc(100% - 24px), 620px);
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(19, 25, 21, 0.72);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
  transform: translateX(-50%);
  backdrop-filter: blur(16px);
}

.dev-switcher a {
  flex: 1;
  min-width: 0;
  padding: 8px 10px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
}

.dev-switcher a:hover,
.dev-switcher a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.hero {
  position: relative;
  min-height: 82svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero__image,
.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__shade {
  background: linear-gradient(90deg, rgba(12, 20, 15, 0.76), rgba(12, 20, 15, 0.38) 48%, rgba(12, 20, 15, 0.12));
}

.hero__content {
  position: relative;
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 clamp(48px, 10svh, 96px);
  color: #fff;
}

.domain {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(0.82rem, 1.4vw, 0.95rem);
  font-weight: 700;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(3.2rem, 11vw, 7.5rem);
  line-height: 0.94;
  font-weight: 800;
  letter-spacing: 0;
}

.subtitle {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.08rem, 2.4vw, 1.48rem);
}

.next {
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.next__inner {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 34px;
}

.next p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.16rem);
}

@media (max-width: 720px) {
  .hero {
    min-height: 78svh;
  }

  .hero__image {
    object-position: 60% center;
  }

  .hero__shade {
    background: linear-gradient(180deg, rgba(12, 20, 15, 0.16), rgba(12, 20, 15, 0.78));
  }

  .hero__content {
    width: min(100% - 28px, 560px);
    padding-bottom: 42px;
  }

  h1 {
    max-width: 10ch;
  }

  .next__inner {
    width: min(100% - 28px, 560px);
  }

  .dev-switcher {
    top: 8px;
    width: min(calc(100% - 16px), 520px);
  }

  .dev-switcher a {
    padding: 7px 6px;
    font-size: 0.72rem;
  }
}
