:root {
  color-scheme: light;
  --ink: #0b0b0a;
  --paper: #f4efe5;
  --white: #fffaf0;
  --line: rgba(255, 250, 240, 0.48);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--white);
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  min-height: 100lvh;
  min-height: calc(100dvh + 72px);
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: clamp(28px, 5vw, 72px);
  isolation: isolate;
}

.hero__image,
.hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__image {
  object-fit: cover;
  object-position: 56% 50%;
  z-index: -3;
}

.hero__shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.74) 35%, rgba(0, 0, 0, 0.08) 70%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.38) 100%);
}

.hero__content {
  width: min(560px, 100%);
  padding-top: 7svh;
}

.about-link {
  position: absolute;
  top: clamp(24px, 4vw, 48px);
  right: clamp(28px, 5vw, 72px);
  z-index: 2;
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.about-link:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.eyebrow {
  margin: 0 0 18px;
  font-size: clamp(0.76rem, 1.4vw, 0.88rem);
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 12ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.5rem, 6.25vw, 5.1rem);
  line-height: 0.86;
  font-weight: 700;
  letter-spacing: 0;
  text-wrap: balance;
}

h1 span {
  display: block;
  white-space: nowrap;
}

.lede {
  width: min(430px, 100%);
  margin: 24px 0 0;
  font-size: clamp(1rem, 2vw, 1.26rem);
  line-height: 1.45;
  font-weight: 650;
}

.signup {
  display: grid;
  grid-template-columns: minmax(0, 270px) auto;
  gap: 10px;
  width: min(410px, 100%);
  margin-top: 30px;
}

.signup input,
.signup button {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font: inherit;
}

.signup input {
  min-width: 0;
  padding: 0 15px;
  color: var(--ink);
  background: rgba(255, 250, 240, 0.92);
  outline: none;
}

.signup input:focus {
  border-color: var(--white);
  box-shadow: 0 0 0 3px rgba(255, 250, 240, 0.26);
}

.signup button {
  padding: 0 22px;
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
  font-weight: 800;
  cursor: pointer;
}

.signup button:hover {
  background: var(--paper);
  border-color: var(--paper);
}

.board {
  position: absolute;
  right: max(-84px, -4vw);
  bottom: -22px;
  z-index: -1;
  width: min(40vw, 520px);
  min-width: 300px;
  height: auto;
  color: #030302;
  fill: currentColor;
  filter: drop-shadow(0 22px 38px rgba(0, 0, 0, 0.36));
}

.board__shadow {
  opacity: 0.92;
}

.about {
  background: var(--paper);
  color: var(--ink);
  padding: clamp(64px, 10vw, 128px) clamp(28px, 5vw, 72px);
}

.about__inner {
  width: min(920px, 100%);
}

.about .eyebrow {
  margin-bottom: 20px;
}

h2 {
  width: min(760px, 100%);
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 6vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.about p:last-child {
  width: min(680px, 100%);
  margin: 28px 0 0;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.55;
  font-weight: 600;
}

footer {
  min-height: 8svh;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px clamp(28px, 5vw, 72px);
  color: var(--paper);
  background: var(--ink);
  font-size: 0.92rem;
}

footer a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 760px) {
  .hero {
    min-height: 91svh;
    align-items: start;
    padding-top: 42px;
  }

  .hero__image {
    object-position: 51% 52%;
  }

  .hero__shade {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.74) 0%, rgba(0, 0, 0, 0.2) 46%, rgba(0, 0, 0, 0.62) 100%),
      linear-gradient(90deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.1) 70%);
  }

  .hero__content {
    padding-top: 0;
  }

  h1 {
    max-width: 12ch;
    font-size: clamp(3.1rem, 13vw, 4.8rem);
  }

  .board {
    width: 74vw;
    min-width: 260px;
    right: -110px;
    bottom: -10px;
  }

  .signup {
    grid-template-columns: 1fr;
    width: min(340px, 100%);
  }

  footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
