:root {
  --human-black: #090a0d;
  --human-panel: #121318;
  --human-line: rgba(255, 255, 255, 0.14);
  --human-white: #f8f8f5;
  --human-muted: #b7b8bd;
  --human-red: #f04444;
}

.human-page {
  color: var(--human-white);
  background:
    radial-gradient(
      circle at 88% 8%,
      rgba(240, 68, 68, 0.12),
      transparent 25rem
    ),
    linear-gradient(180deg, #0c0d11, var(--human-black));
  padding-bottom: calc(72px + env(safe-area-inset-bottom));
}

.word-page {
  --human-red: #ffb020;
  background:
    radial-gradient(
      circle at 12% 10%,
      rgba(255, 176, 32, 0.16),
      transparent 28rem
    ),
    radial-gradient(
      circle at 88% 8%,
      rgba(40, 190, 214, 0.16),
      transparent 25rem
    ),
    linear-gradient(180deg, #101523, #090c14);
}

.circix-page {
  --human-red: #39ff68;
  background:
    radial-gradient(
      circle at 86% 9%,
      rgba(0, 255, 76, 0.14),
      transparent 28rem
    ),
    linear-gradient(180deg, #05130b, #030806);
}

.word-page .human-hero-art img {
  aspect-ratio: 3 / 2;
}

.square-frame {
  width: min(78vw, 390px);
}

.square-frame img {
  aspect-ratio: 1;
  object-fit: cover;
}

.human-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.2;
  background-image:
    linear-gradient(var(--human-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--human-line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 65%);
}

.human-container {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  color: #111;
  background: #fff;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.human-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--human-line);
  background: rgba(9, 10, 13, 0.86);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.human-nav {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.human-nav .brand-icon {
  width: 30px;
  height: 30px;
}

.human-nav .brand-wordmark {
  height: 22px;
}

.back-link,
.human-home-link {
  color: var(--human-muted);
  font-weight: 700;
  transition: color 160ms ease;
}

.back-link:hover,
.human-home-link:hover {
  color: #fff;
}

.human-hero {
  min-height: min(760px, calc(100svh - 68px));
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 84px);
  padding-block: clamp(48px, 8vw, 100px);
}

.human-kicker {
  color: var(--human-red);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  font-weight: 700;
}

.human-hero h1 {
  margin-top: 10px;
  font-family: var(--title-font);
  font-size: clamp(4rem, 9vw, 7.5rem);
  line-height: 0.9;
  letter-spacing: -0.055em;
}

.human-tagline {
  margin-top: 22px;
  font-size: clamp(1.35rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.15;
}

.human-description,
.human-supporting {
  max-width: 36rem;
  margin-top: 18px;
  color: var(--human-muted);
  font-size: 1rem;
}

.human-supporting {
  margin-top: 10px;
  color: var(--human-white);
}

.human-store-pair {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.hero-stores {
  justify-content: flex-start;
  margin-top: 28px;
}

.human-store-badge {
  display: block;
  flex: 0 1 auto;
  border-radius: 9px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    opacity 160ms ease;
}

.human-store-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.42);
}

.human-store-badge img {
  width: auto;
  height: 48px;
}

.human-hero-art {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--human-line);
  border-radius: 28px;
  background: #050506;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.48);
}

.human-hero-art img {
  width: 100%;
  height: auto;
  aspect-ratio: 1024 / 500;
  object-fit: cover;
}

.human-hero-art p {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 18px;
  border-top: 1px solid var(--human-line);
  color: var(--human-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--human-red);
  box-shadow: 0 0 14px var(--human-red);
}

.human-features {
  padding-block: clamp(72px, 10vw, 128px);
}

.human-section-heading {
  max-width: 700px;
}

.human-section-heading h2,
.human-moment h2,
.human-final h2 {
  margin-top: 10px;
  font-family: var(--title-font);
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.05;
}

.human-section-heading > p:last-child {
  margin-top: 18px;
  color: var(--human-muted);
  font-size: 1.05rem;
}

.human-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 42px;
}

.human-feature-grid article {
  min-width: 0;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--human-line);
  border-radius: 22px;
  background: rgba(18, 19, 24, 0.84);
}

.human-feature-grid strong,
.feature-mark,
.tapsy-face {
  min-height: 64px;
  display: block;
  color: var(--human-red);
  font-family: var(--title-font);
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1;
}

.tapsy-face {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  white-space: nowrap;
}

.human-feature-grid h3 {
  margin-top: 20px;
  font-size: 1.2rem;
}

.human-feature-grid p {
  margin-top: 9px;
  color: var(--human-muted);
  font-size: 0.94rem;
}

.human-moment {
  border-block: 1px solid var(--human-line);
  background: rgba(255, 255, 255, 0.035);
}

.human-moment-inner {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(48px, 9vw, 120px);
  padding-block: clamp(72px, 11vw, 136px);
}

.phone-frame {
  width: min(100%, 390px);
  margin-inline: auto;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 32px;
  background: #050506;
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.55);
}

.phone-frame img {
  width: 100%;
  border-radius: 24px;
}

.human-moment-copy > p:not(.human-kicker) {
  margin-top: 22px;
  color: var(--human-muted);
  font-size: 1.05rem;
}

.human-moment-copy ul {
  display: grid;
  gap: 12px;
  margin-top: 26px;
  list-style: none;
}

.human-moment-copy li {
  position: relative;
  padding-left: 24px;
}

.human-moment-copy li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--human-red);
}

.human-final {
  padding-block: clamp(72px, 11vw, 132px);
}

.human-final-card {
  overflow: hidden;
  position: relative;
  padding: clamp(34px, 8vw, 88px) 24px;
  border: 1px solid var(--human-line);
  border-radius: 28px;
  background: radial-gradient(circle at center top, #24252b, #101115 62%);
  text-align: center;
}

.tapsy-prompt {
  color: var(--human-red);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.25em;
}

.human-final-card > p:not(.tapsy-prompt) {
  margin-top: 14px;
  color: var(--human-muted);
}

.human-final-card .human-store-pair {
  margin-top: 28px;
}

.human-home-link {
  display: inline-block;
  margin-top: 28px;
  border-bottom: 1px solid currentColor;
}

.human-footer {
  border-top: 1px solid var(--human-line);
  color: var(--human-muted);
}

.human-footer .human-container {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.85rem;
}

.human-footer a:hover {
  color: #fff;
}

.store-dock {
  position: fixed;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom));
  z-index: 50;
  display: flex;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  background: rgba(9, 10, 13, 0.9);
  box-shadow: 0 14px 50px rgba(0, 0, 0, 0.44);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.store-dock .human-store-badge img {
  width: 135px;
  height: 40px;
}

@media (max-width: 820px) {
  .human-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 52px;
  }

  .human-hero-art {
    order: -1;
  }

  .human-feature-grid {
    grid-template-columns: 1fr;
  }

  .human-feature-grid article {
    display: grid;
    grid-template-columns: 70px 1fr;
    column-gap: 18px;
  }

  .human-feature-grid h3 {
    align-self: center;
    margin-top: 0;
  }

  .human-feature-grid p {
    grid-column: 2;
  }

  .human-moment-inner {
    grid-template-columns: minmax(180px, 0.7fr) 1fr;
    gap: 40px;
  }

  .store-dock {
    right: 0;
    bottom: 0;
    left: 0;
    justify-content: center;
    padding: 8px max(10px, env(safe-area-inset-right))
      calc(8px + env(safe-area-inset-bottom))
      max(10px, env(safe-area-inset-left));
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0;
  }

  .store-dock .human-store-badge {
    flex: 0 1 180px;
  }

  .store-dock .human-store-badge img {
    width: 100%;
    height: 40px;
  }
}

@media (max-width: 600px) {
  .human-container {
    width: min(100% - 24px, 1120px);
  }

  .human-nav .brand-wordmark {
    display: none;
  }

  .human-hero {
    gap: 34px;
    padding-top: 32px;
  }

  .human-hero-art {
    border-radius: 20px;
  }

  .human-hero h1 {
    font-size: clamp(3.35rem, 18vw, 5.3rem);
  }

  .human-tagline {
    margin-top: 16px;
  }

  .hero-stores {
    display: none;
  }

  .human-moment-inner {
    grid-template-columns: 1fr;
  }

  .phone-frame {
    width: min(78vw, 340px);
  }

  .human-final-card {
    border-radius: 22px;
  }

  .human-final-card .human-store-pair {
    align-items: stretch;
  }

  .human-final-card .human-store-badge {
    flex: 1 1 140px;
  }

  .human-final-card .human-store-badge img {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 350px) {
  .human-container {
    width: min(100% - 18px, 1120px);
  }

  .human-hero h1 {
    font-size: 3.15rem;
  }

  .human-feature-grid article {
    display: block;
  }

  .human-feature-grid h3 {
    margin-top: 12px;
  }

  .human-feature-grid p {
    margin-top: 8px;
  }

  .store-dock {
    gap: 5px;
    padding-inline: 6px;
  }

  .store-dock .human-store-badge img {
    height: auto;
    max-height: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .human-page {
    scroll-behavior: auto;
  }
}
