/* Bright public-site shell and homepage components. */
.bright-home {
  --home-ink: #0a174b;
  --home-yellow: #ffd52a;
  --home-coral: #ff6157;
  background: #fff;
  color: var(--home-ink);
}

.bright-home .site-shell {
  width: min(100% - 3rem, 88rem);
}

.bright-home a {
  color: var(--home-ink);
}

.bright-home a:focus-visible {
  outline: 3px solid var(--home-ink);
  outline-offset: 5px;
}

.home-skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  padding: 0.75rem 1rem;
  background: var(--home-yellow);
  z-index: 1;
}

.home-skip-link:focus {
  top: 1rem;
}

.home-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  padding: 1.7rem 1.5rem 2rem;
}

.home-brand {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  flex-shrink: 0;
}

.home-brand:hover {
  text-decoration: none;
}

.home-brand img {
  width: 5.5rem;
  height: auto;
}

.home-brand-name {
  display: block;
  font-size: 1.85rem;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.home-brand-location {
  display: block;
  margin-top: 0.65rem;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.bright-home .home-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 1.6rem;
  padding: 0;
  font-size: 0.95rem;
  font-weight: 700;
}

.home-nav a {
  padding: 0.65rem 0;
}

.home-nav .home-account {
  padding: 0.8rem 1.5rem;
  margin-left: 0.5rem;
  border-radius: 0.8rem;
  background: #ede5ff;
}

.home-announcement {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.2rem 1rem;
  padding: 0.9rem 1.2rem;
  border-radius: 0.8rem;
  background: var(--home-coral);
  font-size: 1.05rem;
  font-weight: 800;
  text-align: center;
}

.home-announcement > [aria-hidden] {
  color: var(--home-ink);
  font-size: 1.45rem;
}

.home-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

.home-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(1.5rem, 3vw, 3rem);
  background: var(--home-yellow);
  border-radius: 0.85rem;
}

.home-hero h1 {
  font-size: clamp(2.7rem, 5.4vw, 5rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.065em;
  overflow-wrap: normal;
}

.home-intro {
  margin: 1.5rem 0 1.8rem;
  font-size: clamp(1.05rem, 1.65vw, 1.4rem);
  line-height: 1.55;
  font-weight: 500;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2rem;
}

.bright-home .home-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 0.95rem 1.7rem;
  border-radius: 3rem;
  background: var(--home-ink);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
}

.home-button:hover {
  box-shadow: 0 0 0 3px var(--home-ink);
}

.bright-home .home-text-link {
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: underline;
  text-underline-offset: 0.3em;
}

.home-hero-art {
  display: flex;
  align-self: center;
}

.home-hero-art > img {
  display: block;
  width: 100%;
  height: auto;
}

.home-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}

.home-feature {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.7rem 1.4rem;
  border-radius: 0.85rem;
}

.home-feature-play {
  background: #ffca9e;
}

.home-feature-explore {
  background: #ffb5b2;
}

.home-feature-settle {
  background: #ffe89e;
}

.home-feature > img {
  width: 4.5rem;
  height: auto;
  flex-shrink: 0;
}

.home-feature h2 {
  margin: 0.3rem 0 0;
  font-size: 1.18rem;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.home-feature p {
  margin: 0.7rem 0 0;
  font-size: 0.98rem;
  line-height: 1.75;
  color: #414b70;
}

.home-sharing {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.6rem 2rem;
  margin-top: 1.2rem;
  background: #f5c1e8;
  border-radius: 0.85rem;
}

.home-sharing > img {
  height: auto;
  flex-shrink: 0;
}

.home-sharing-camera {
  width: 5rem;
}

.home-sharing-heart {
  width: 3rem;
  margin-left: auto;
}

.home-sharing h2 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.55;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.home-sharing .home-text-link {
  display: inline-block;
  margin-top: 0.75rem;
}

.home-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  margin-top: 1.5rem;
  padding: 1.2rem 0 1.5rem;
  border-top: 1px solid #d8dce8;
  font-size: 0.75rem;
  color: #414b70;
}

.home-footer p {
  margin: 0;
}

.home-footer p:last-child span {
  color: #de3443;
  margin-left: 0.5rem;
}

@media (max-width: 1100px) {
  .home-header {
    justify-content: center;
  }

  .bright-home .home-nav {
    justify-content: center;
  }

  .home-feature {
    flex-direction: column;
  }
}

@media (max-width: 700px) {
  .bright-home .site-shell {
    width: calc(100% - 1.5rem);
  }

  .home-header {
    padding: 1.5rem 0;
    gap: 1.2rem;
  }

  .home-brand img {
    width: 4.2rem;
  }

  .home-brand-name {
    font-size: 1.6rem;
  }

  .home-brand-location {
    font-size: 0.5rem;
  }

  .bright-home .home-nav {
    flex-direction: row;
    gap: 0.15rem 1rem;
    font-size: 0.85rem;
  }

  .home-nav .home-account {
    margin-left: 0;
    padding: 0.55rem 1rem;
  }

  .home-announcement {
    font-size: 0.85rem;
    gap: 0.3rem 0.65rem;
  }

  .home-announcement > [aria-hidden] {
    display: none;
  }

  .home-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.5rem;
  }

  .home-hero-copy {
    padding: 2rem 1.5rem;
  }

  .home-hero h1 {
    font-size: clamp(2rem, 8.8vw, 3.6rem);
  }

  .home-intro {
    font-size: 1.1rem;
  }

  .home-actions {
    gap: 1.25rem;
  }

  .home-hero-art {
    width: min(100%, 28rem);
    margin-inline: auto;
  }

  .home-features {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 1rem;
  }

  .home-feature {
    flex-direction: row;
    padding: 1.4rem 1.2rem;
    gap: 1rem;
  }

  .home-feature > img {
    width: 3.5rem;
  }

  .home-sharing {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
    padding: 1.4rem;
  }

  .home-sharing-camera {
    width: 3.5rem;
  }

  .home-sharing > div {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .home-sharing-heart {
    width: 2.5rem;
    grid-column: 2;
    grid-row: 1;
  }
}
