.page-home {
  background: var(--c-warm);
  overflow-x: hidden;
}

.page-home img {
  max-width: 100%;
  height: auto;
}

.page-home .section-kicker {
  font-family: var(--font-small);
  font-size: .8125rem;
  font-weight: 800;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--c-deep);
  margin: 0 0 .5rem;
}

.page-home .breadcrumb {
  display: flex;
  align-items: center;
  gap: .4rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-small);
  font-size: .75rem;
  color: rgba(255,255,255,.55);
}

.page-home .breadcrumb-item--current {
  color: var(--c-gold);
  letter-spacing: .14em;
}

.page-home .home-hero {
  background: linear-gradient(140deg, var(--c-deep) 0%, var(--c-deep-2) 62%, #14476b 100%);
  color: #fff;
  padding: 2.5rem 1.25rem 4rem;
  position: relative;
  overflow: hidden;
}

.page-home .home-hero::before {
  content: "ALLWINCITY";
  position: absolute;
  top: 1.25rem;
  right: -1rem;
  font-family: var(--font-sans);
  font-size: clamp(4rem, 13vw, 9.5rem);
  font-weight: 900;
  line-height: 1;
  color: rgba(255,255,255,.045);
  white-space: nowrap;
  letter-spacing: -.05em;
  pointer-events: none;
  user-select: none;
}

.page-home .home-hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-content);
  margin: 0 auto;
}

.page-home .home-hero__kicker {
  color: var(--c-gold);
}

.page-home .home-hero__title {
  font-family: var(--font-sans);
  font-size: clamp(2.75rem, 7.5vw, 5.5rem);
  line-height: 1.04;
  letter-spacing: -.02em;
  margin: .5rem 0 .25rem;
  color: #fff;
}

.page-home .home-hero__subtitle {
  font-family: var(--font-small);
  font-size: .875rem;
  letter-spacing: .16em;
  color: rgba(255,255,255,.72);
  margin: 0 0 1.25rem;
}

.page-home .home-hero__lead {
  max-width: 38rem;
  color: rgba(255,255,255,.88);
  font-size: 1rem;
  margin: 0;
}

.page-home .home-hero__lead strong {
  color: var(--c-gold);
  font-weight: 600;
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin: 1.75rem 0 2rem;
}

.page-home .home-hero__btn.btn {
  background: var(--c-gold);
  border: 1px solid var(--c-gold);
  color: var(--c-deep);
}

.page-home .home-hero__btn.btn:hover {
  background: transparent;
  color: var(--c-gold);
}

.page-home .home-hero__btn.btn-outline {
  border: 1px solid rgba(255,255,255,.4);
  color: #fff;
}

.page-home .home-hero__btn.btn-outline:hover {
  border-color: var(--c-gold);
  background: rgba(212,175,55,.08);
  color: var(--c-gold);
}

.page-home .home-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: .625rem 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-small);
  font-size: .875rem;
  color: rgba(255,255,255,.72);
}

.page-home .home-hero__facts li {
  display: flex;
  align-items: baseline;
  gap: .3rem;
}

.page-home .home-hero__fact-num {
  font-family: var(--font-sans);
  font-size: 1.375rem;
  font-weight: 900;
  color: var(--c-gold);
}

.page-home .home-hero__art {
  position: relative;
  margin-top: 2.5rem;
}

.page-home .home-hero__art::after {
  content: "";
  position: absolute;
  top: 1rem;
  right: -1rem;
  bottom: -1rem;
  left: 1rem;
  border: 1px solid rgba(212,175,55,.45);
  border-radius: var(--radius);
  z-index: 0;
}

.page-home .home-hero__img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: 600px;
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
}

.page-home .home-hero__art-caption {
  position: relative;
  z-index: 1;
  font-family: var(--font-small);
  font-size: .75rem;
  letter-spacing: .24em;
  color: var(--c-gold);
  margin: .75rem 0 0;
  text-align: right;
}

.page-home .home-index {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 4rem 1.25rem;
}

.page-home .home-index__head {
  margin-bottom: 2.25rem;
}

.page-home .home-index__title,
.page-home .home-library__title,
.page-home .home-updates__title,
.page-home .home-help__title {
  font-family: var(--font-sans);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -.01em;
  margin: 0 0 .75rem;
  color: var(--c-deep);
}

.page-home .home-index__desc,
.page-home .home-library__desc,
.page-home .home-updates__desc,
.page-home .home-help__desc {
  max-width: 36rem;
  color: var(--c-slate);
  font-family: var(--font-serif);
  line-height: 1.8;
  margin: 0;
}

.page-home .home-index__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.page-home .home-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem 1.25rem;
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}

.page-home .home-card:hover {
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(212,175,55,.5);
  transform: translateY(-3px);
}

.page-home .home-card--nav { border-top: 3px solid var(--c-deep); }
.page-home .home-card--news { border-top: 3px solid var(--c-sky); }
.page-home .home-card--lib { border-top: 3px solid var(--c-gold); }
.page-home .home-card--city { border-top: 3px solid var(--c-lilac); }
.page-home .home-card--support { border-top: 3px solid var(--c-gold); }
.page-home .home-card--service { border-top: 3px solid var(--c-deep); }

.page-home .home-card__code {
  position: absolute;
  top: .875rem;
  right: 1rem;
  font-family: var(--font-sans);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(10,37,64,.14);
}

.page-home .home-card__title {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 900;
  color: var(--c-deep);
  margin: 0 0 .5rem;
}

.page-home .home-card__text {
  font-size: .875rem;
  color: var(--c-slate);
  line-height: 1.7;
  margin: 0 0 1rem;
}

.page-home .home-card__link {
  font-family: var(--font-small);
  font-size: .875rem;
  font-weight: 700;
  color: var(--c-deep);
  text-decoration: none;
  border-bottom: 1px solid var(--c-gold);
  padding-bottom: 2px;
  transition: color .2s ease, border-color .2s ease;
}

.page-home .home-card__link:hover {
  color: var(--c-gold);
  border-color: var(--c-deep);
}

.page-home .home-index__more {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
  align-items: center;
}

.page-home .home-index__img {
  display: block;
  width: 100%;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
}

.page-home .home-index__details {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  font-family: var(--font-small);
}

.page-home .home-index__details summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: .5rem;
  font-weight: 700;
  color: var(--c-deep);
  transition: color .2s ease;
}

.page-home .home-index__details summary::-webkit-details-marker {
  display: none;
}

.page-home .home-index__details summary:hover {
  color: var(--c-gold);
}

.page-home .home-index__details summary::before {
  content: "+";
  display: inline-block;
  color: var(--c-gold);
  font-size: 1.25rem;
  line-height: 1;
  font-weight: 900;
}

.page-home .home-index__details[open] summary::before {
  content: "–";
}

.page-home .home-index__details p {
  margin: .75rem 0 0;
  color: var(--c-slate);
  font-size: .875rem;
  line-height: 1.7;
}

.page-home .home-library {
  background: linear-gradient(150deg, var(--c-deep) 0%, var(--c-deep-2) 100%);
  padding: 4rem 1.25rem;
  position: relative;
  overflow: hidden;
}

.page-home .home-library::after {
  content: "LIBRARY";
  position: absolute;
  right: -1rem;
  bottom: -2rem;
  font-family: var(--font-sans);
  font-size: clamp(5rem, 14vw, 10rem);
  font-weight: 900;
  color: rgba(255,255,255,.04);
  white-space: nowrap;
  letter-spacing: -.05em;
  pointer-events: none;
}

.page-home .home-library__head {
  position: relative;
  z-index: 1;
  max-width: var(--max-content);
  margin: 0 auto 2.5rem;
}

.page-home .home-library .home-library__title {
  color: #fff;
}

.page-home .home-library .home-library__desc {
  color: rgba(255,255,255,.7);
}

.page-home .home-library .section-kicker {
  color: var(--c-gold);
}

.page-home .home-library__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.page-home .home-library__visual {
  position: relative;
  text-align: center;
}

.page-home .home-library__visual::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 220px;
  height: 220px;
  transform: translate(-50%, -50%);
  border: 1px dashed rgba(212,175,55,.4);
  border-radius: 50%;
  z-index: 0;
}

.page-home .home-library__img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  border-radius: 50%;
  border: 1px solid rgba(212,175,55,.5);
  box-shadow: 0 0 0 12px rgba(212,175,55,.08);
}

.page-home .home-library__cats {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
  align-content: center;
}

.page-home .home-library__cats .tag {
  border: 1px solid rgba(212,175,55,.45);
  color: #fff;
  background: rgba(255,255,255,.04);
  padding: .4rem .8rem;
  font-size: .8125rem;
  border-radius: 999px;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.page-home .home-library__cats .tag:hover {
  background: var(--c-gold);
  border-color: var(--c-gold);
  color: var(--c-deep);
}

.page-home .home-library__guide {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.page-home .home-library__guide-title {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 900;
  color: var(--c-gold);
  margin: 0 0 1rem;
}

.page-home .home-library__steps {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
  color: rgba(255,255,255,.8);
  font-size: .875rem;
  line-height: 1.9;
}

.page-home .home-library__steps li::marker {
  color: var(--c-gold);
}

.page-home .home-library__btn.btn {
  background: var(--c-gold);
  border: 1px solid var(--c-gold);
  color: var(--c-deep);
}

.page-home .home-library__btn.btn:hover {
  background: transparent;
  color: var(--c-gold);
}

.page-home .home-updates {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 4rem 1.25rem;
}

.page-home .home-updates__head {
  margin-bottom: 2.25rem;
}

.page-home .home-updates__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.page-home .home-updates__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid var(--c-deep);
}

.page-home .home-updates__item {
  position: relative;
  padding: 0 0 1.5rem 1.5rem;
}

.page-home .home-updates__item:last-child {
  padding-bottom: 0;
}

.page-home .home-updates__item::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--c-warm);
  border: 2px solid var(--c-gold);
  transition: background .2s ease;
}

.page-home .home-updates__item:hover::before {
  background: var(--c-gold);
}

.page-home .home-updates__version {
  display: block;
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 900;
  color: var(--c-deep);
}

.page-home .home-updates__note {
  display: block;
  font-size: .875rem;
  color: var(--c-slate);
  line-height: 1.7;
}

.page-home .home-updates__aside {
  background: linear-gradient(160deg, #fff 0%, var(--c-warm) 100%);
  border: 1px solid var(--c-deep);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  align-self: start;
}

.page-home .home-updates__badge {
  display: inline-block;
  margin-bottom: 1rem;
}

.page-home .home-updates__img {
  display: block;
  width: 100%;
  max-width: 200px;
  margin: 0 auto 1rem;
  border-radius: 50%;
}

.page-home .home-updates__metric {
  font-family: var(--font-sans);
  font-size: 1.375rem;
  font-weight: 900;
  color: var(--c-gold);
  line-height: 1.4;
  margin: 0 0 1rem;
}

.page-home .home-updates__more {
  font-family: var(--font-small);
  font-size: .875rem;
  font-weight: 700;
  color: var(--c-deep);
  text-decoration: none;
  border-bottom: 1px solid var(--c-gold);
  padding-bottom: 2px;
  transition: color .2s ease, border-color .2s ease;
}

.page-home .home-updates__more:hover {
  color: var(--c-gold);
  border-color: var(--c-deep);
}

.page-home .home-help {
  background: linear-gradient(180deg, var(--c-warm) 0%, #efe8dd 100%);
  padding: 4rem 1.25rem;
}

.page-home .home-help__head {
  max-width: var(--max-content);
  margin: 0 auto 2rem;
}

.page-home .home-help__grid {
  max-width: var(--max-content);
  margin: 0 auto 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: .75rem;
}

.page-home .home-help__item {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: .25rem 1rem;
  background: rgba(255,255,255,.7);
  border: 1px solid var(--c-line);
  border-left: 3px solid var(--c-gold);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  text-decoration: none;
  color: var(--c-ink);
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, border-left-color .2s ease;
}

.page-home .home-help__item:hover {
  background: #fff;
  box-shadow: var(--shadow-card);
  border-left-color: var(--c-deep);
}

.page-home .home-help__item:hover .home-help__q {
  color: var(--c-gold);
}

.page-home .home-help__q {
  font-family: var(--font-sans);
  font-size: .9375rem;
  font-weight: 700;
  color: var(--c-deep);
  transition: color .2s ease;
}

.page-home .home-help__a {
  font-size: .8125rem;
  color: var(--c-slate);
}

.page-home .home-help__btn.btn-outline {
  display: block;
  max-width: 240px;
  margin: 0 auto;
  text-align: center;
  border: 1px solid var(--c-deep);
  color: var(--c-deep);
  background: transparent;
}

.page-home .home-help__btn.btn-outline:hover {
  background: var(--c-deep);
  color: #fff;
}

.page-home .home-trust {
  background: var(--c-deep);
  color: rgba(255,255,255,.75);
  padding: 3rem 1.25rem;
  text-align: center;
}

.page-home .home-trust__text {
  max-width: 44rem;
  margin: 0 auto 1.5rem;
  font-family: var(--font-serif);
  font-size: .875rem;
  line-height: 1.9;
}

.page-home .home-trust__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem 1.5rem;
}

.page-home .home-trust__link {
  display: inline-block;
  margin: 0 .25rem;
  font-family: var(--font-small);
  font-size: .875rem;
  font-weight: 700;
  color: var(--c-gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(212,175,55,.5);
  padding-bottom: 2px;
  transition: color .2s ease, border-color .2s ease;
}

.page-home .home-trust__link:hover {
  color: #fff;
  border-color: #fff;
}

@media (min-width: 768px) {
  .page-home .home-index__grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .page-home .home-card:nth-child(1) { grid-column: span 2; }
  .page-home .home-card:nth-child(2) { grid-column: span 2; margin-top: 2rem; }
  .page-home .home-card:nth-child(3) { grid-column: span 2; margin-top: 1rem; }
  .page-home .home-card:nth-child(4) { grid-column: span 3; }
  .page-home .home-card:nth-child(5) { grid-column: span 3; margin-top: 1.5rem; }
  .page-home .home-card:nth-child(6) { grid-column: span 2; margin-top: 1rem; }

  .page-home .home-index__more {
    grid-template-columns: 1fr 1.2fr;
  }

  .page-home .home-library__inner {
    grid-template-columns: 1fr 1.4fr;
  }

  .page-home .home-library__visual {
    grid-row: span 2;
    align-self: center;
  }

  .page-home .home-library__guide {
    grid-column: 2;
  }

  .page-home .home-updates__inner {
    grid-template-columns: 1.6fr .8fr;
    align-items: start;
  }

  .page-home .home-help__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .page-home .home-hero__inner {
    display: grid;
    grid-template-columns: 1.4fr .8fr;
    gap: 4rem;
    align-items: center;
  }

  .page-home .home-hero__art {
    margin-top: 0;
  }

  .page-home .home-index__grid {
    grid-template-columns: repeat(12, 1fr);
  }

  .page-home .home-card:nth-child(1) { grid-column: span 3; }
  .page-home .home-card:nth-child(2) { grid-column: span 3; margin-top: 2.5rem; }
  .page-home .home-card:nth-child(3) { grid-column: span 3; margin-top: 1rem; }
  .page-home .home-card:nth-child(4) { grid-column: span 4; }
  .page-home .home-card:nth-child(5) { grid-column: span 4; margin-top: 1.5rem; }
  .page-home .home-card:nth-child(6) { grid-column: span 4; margin-top: 2rem; }

  .page-home .home-library__inner {
    grid-template-columns: 1fr 1.5fr 1.2fr;
    gap: 2rem;
  }

  .page-home .home-library__visual {
    grid-row: auto;
  }

  .page-home .home-library__guide {
    grid-column: auto;
  }

  .page-home .home-library__cats {
    justify-content: flex-start;
  }
}
