.site-main section {
  max-width: 64rem;
  margin: 0 auto 4rem;
}

.site-main section > *:first-child {
  margin-top: 0;
}

.site-main section > *:last-child {
  margin-bottom: 0;
}

.site-main article {
  margin-bottom: 2rem;
  padding: 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  background: var(--color-surface);
}

@media (max-width: 640px) {
  .site-main section {
    margin-bottom: 3rem;
  }
}

.home-page {
  max-width: 76rem;
  margin: 0 auto;
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.home-page section {
  max-width: none;
  margin: 0;
  padding: clamp(3.5rem, 8vw, 7rem) 0;
  border-top: 1px solid var(--color-border);
}

.home-page section:first-child {
  border-top: 0;
  padding-top: clamp(0.75rem, 2vw, 1.5rem);
}

.home-page p,
.home-page li {
  max-width: 42rem;
  color: var(--color-muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.home-page section > p:first-child {
  margin: 0 0 1rem;
  color: var(--color-muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-page h1,
.home-page h2,
.home-page h3 {
  margin: 0;
  color: var(--color-text-primary);
  font-weight: 600;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.home-page h1 {
  max-width: 11ch;
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  line-height: 0.95;
}

.home-page h2 {
  max-width: 14ch;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1.02;
}

.home-page h3 {
  font-size: 1.4rem;
  line-height: 1.15;
}

.home-page p + h1,
.home-page p + h2,
.home-page h1 + p,
.home-page h2 + p,
.home-page p + ul,
.home-page ul + p,
.home-page p + article,
.home-page h2 + article,
.home-page article + article,
.home-page p + a,
.home-page ul + a {
  margin-top: 1.5rem;
}

.home-page ul {
  display: grid;
  gap: 0.9rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.home-page li {
  position: relative;
  padding-left: 1.4rem;
}

.home-page li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--color-accent);
}

.home-page a {
  color: var(--color-text-primary);
}

.home-page__hero {
  position: relative;
  display: grid;
  align-items: center;
  gap: 1.5rem;
  min-height: min(47rem, calc(100vh - 10rem));
  isolation: isolate;
}

.home-page__hero-copy {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 1.5rem;
  align-content: center;
  max-width: min(42rem, 62%);
}

.home-page__hero-copy > p:last-of-type {
  font-size: 1.15rem;
}

.home-page__hero-media {
  position: absolute;
  top: 50%;
  right: clamp(-9rem, -8vw, -3rem);
  width: min(76vw, 66rem);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  z-index: 1;
  pointer-events: none;
  transform: translateY(-58%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.18) 12%, #000 28%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.18) 12%, #000 28%);
}

.home-page__hero-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 34px 48px rgba(24, 26, 27, 0.16));
}

.home-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1rem;
}

.home-page__actions a,
.home-page__lab a,
.home-page__early-access > a {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.home-page__actions a:first-child,
.home-page__early-access > a {
  color: var(--color-surface);
}

.home-page__lab,
.home-page__early-access {
  padding-left: clamp(1.25rem, 4vw, 3rem);
}

.home-page__early-access {
  border-left: 0;
}

.home-page__lab {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
  padding: clamp(2.25rem, 5vw, 3.5rem);
  border-top: 0;
}

.home-page__lab::before {
  content: "";
  position: absolute;
  inset: 0;
  left: 50%;
  width: calc(100vw - 60px);
  transform: translateX(-50%);
  background: #d96c3b;
  border-radius: 6px;
  z-index: -1;
}

.home-page__lab > p:first-child,
.home-page__lab p,
.home-page__lab li {
  color: rgba(248, 242, 236, 0.9);
}

.home-page section.home-page__lab > p:first-child {
  color: #dfdfdf;
}

.home-page__lab h2 {
  color: #fffaf5;
}

.home-page__lab-copy {
  display: grid;
  gap: 1.5rem;
  align-content: start;
}

.home-page__lab-media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-page__lab-media img {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 20%, transparent 68%);
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 20%, transparent 68%);
}

.home-page__lab li::before {
  background: #fff4e9;
}

.home-page__lab .key-button {
  color: var(--color-text-primary);
}

.home-page__lab .key-button::before {
  background: linear-gradient(180deg, #fffdf9 0%, #efe5d9 100%);
}

.home-page__lab .key-button:hover,
.home-page__lab .key-button:focus-visible {
  color: var(--color-accent);
}

.home-page__early-access > a {
  margin-top: 2rem;
  width: fit-content;
}

.home-page__problem ul,
.home-page__lab ul,
.home-page__community ul {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 52rem;
}

@media (max-width: 960px) {
  .home-page__hero {
    gap: 1.5rem;
  }

  .home-page__hero-copy {
    max-width: min(38rem, 68%);
  }

  .home-page__hero-media {
    right: clamp(-7rem, -7vw, -2rem);
    width: min(82vw, 56rem);
  }

}

@media (max-width: 720px) {
  .home-page section {
    padding: 3rem 0;
  }

  .home-page__hero {
    min-height: auto;
  }

  .home-page__hero-copy {
    max-width: none;
  }

  .home-page__hero-media {
    position: static;
    order: -1;
    width: 100%;
    transform: none;
    justify-content: center;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .home-page__hero-media img {
    width: min(100%, 28rem);
    height: auto;
    object-fit: contain;
  }

  .home-page__lab,
  .home-page__early-access {
    padding-left: 1.25rem;
  }

  .home-page__lab {
    grid-template-columns: 1fr;
    padding: 2rem 1.25rem;
  }

  .home-page__problem ul,
  .home-page__lab ul,
  .home-page__community ul {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .home-page p,
  .home-page li {
    font-size: 1rem;
  }

  .home-page__hero {
    gap: 1.25rem;
  }

  .home-page__hero-copy {
    align-content: start;
  }

  .home-page__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .home-page__actions a,
  .home-page__lab a,
  .home-page__early-access > a {
    width: 100%;
  }
}

.waitlist-page {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
  gap: clamp(2rem, 5vw, 4rem);
  max-width: 72rem;
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 4rem) 0 clamp(4rem, 8vw, 6rem);
}

.waitlist-page__intro,
.waitlist-page__panel {
  min-width: 0;
}

.waitlist-page__intro {
  align-self: start;
}

.waitlist-page__intro > p:first-child {
  margin: 0 0 1rem;
  color: var(--color-muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.waitlist-page__intro h1 {
  margin: 0;
  max-width: 10ch;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.waitlist-page__intro h1 + p {
  margin-top: 1.5rem;
}

.waitlist-page__intro p,
.waitlist-page__intro li {
  color: var(--color-muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.waitlist-page__intro ul {
  display: grid;
  gap: 0.9rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.waitlist-page__intro li {
  position: relative;
  padding-left: 1.4rem;
}

.waitlist-page__intro li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--color-accent);
}

.waitlist-page__panel {
  display: grid;
  gap: 1rem;
  align-self: center;
  padding: clamp(1.5rem, 3vw, 2rem);
  border: 1px solid var(--color-border);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 20px 40px rgba(24, 26, 27, 0.06);
}

.waitlist-page__status {
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.waitlist-page__status--success {
  border: 1px solid rgba(76, 122, 90, 0.22);
  background: rgba(231, 241, 234, 0.9);
  color: #30533c;
}

.waitlist-page__status--error {
  border: 1px solid rgba(166, 79, 53, 0.22);
  background: rgba(250, 235, 227, 0.92);
  color: #7f3b24;
}

.waitlist-form {
  display: grid;
  gap: 1.25rem;
}

.waitlist-form__field {
  display: grid;
  gap: 0.55rem;
}

.waitlist-form__field label {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.waitlist-form__field input {
  width: 100%;
  min-height: 3.5rem;
  padding: 0.95rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  background: var(--color-surface);
  color: var(--color-text-primary);
  font: inherit;
  box-shadow: inset 0 1px 2px rgba(24, 26, 27, 0.04);
  transition: border-color 0.14s ease, box-shadow 0.14s ease, background 0.14s ease;
}

.waitlist-form__field input::placeholder {
  color: #948d84;
}

.waitlist-form__field input:hover {
  border-color: #c7beb2;
  background: #fffdfa;
}

.waitlist-form__field input:focus-visible {
  outline: none;
  border-color: rgba(217, 108, 59, 0.6);
  box-shadow:
    inset 0 1px 2px rgba(24, 26, 27, 0.03),
    0 0 0 4px rgba(217, 108, 59, 0.12);
}

.waitlist-form__error {
  margin: 0;
  color: #a64f35;
  font-size: 0.9rem;
}

.waitlist-form button {
  width: 100%;
  margin-top: 0.5rem;
}

@media (max-width: 820px) {
  .waitlist-page {
    grid-template-columns: 1fr;
  }

  .waitlist-page__intro h1 {
    max-width: 12ch;
  }
}

@media (max-width: 640px) {
  .waitlist-page {
    padding-top: 1rem;
  }

  .waitlist-page__intro p,
  .waitlist-page__intro li {
    font-size: 1rem;
  }
}

.home-page section.home-page__lab > .preview-the-experience {
  color: #dfdfdf;
}