/* Home page. Depends on site.css. */

/* Hero */
.hero { background: var(--gray); padding: calc(var(--s-900) + var(--s-700)) 0 0; overflow: hidden; position: relative; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: var(--s-600); }
.hero__copy { display: flex; flex-direction: column; gap: var(--s-300); position: relative; z-index: 4; align-self: center; padding-bottom: var(--s-900); }
.hero__copy h1, .hero__copy .hero__lead { max-width: 680px; }
.hero__badge { display: inline-flex; align-items: center; gap: var(--s-75); align-self: flex-start; padding: var(--s-50) var(--s-100) var(--s-50) var(--s-50); border-radius: var(--r-full); background: var(--white); box-shadow: var(--shadow-sm); }
.hero__badge img { width: 24px; height: 24px; border-radius: var(--r-full); }
.hero__badge-sep { width: 1px; height: 12px; background: var(--line); }
.hero__star { color: #f5a400; display: inline-flex; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-200); }
.hero__note { display: flex; align-items: center; gap: var(--s-75); margin-top: calc(-1 * var(--s-100)); }
.hero__note .i { color: var(--success); }
.hero__art { position: relative; height: 640px; }
.hero__halo { position: absolute; width: 600px; height: 600px; border-radius: var(--r-full); background: var(--white); left: 50%; top: var(--s-400); margin-left: -300px; }
.hero__phone { position: absolute; left: var(--s-700); bottom: calc(-1 * var(--s-900)); transform: rotate(-6deg); transform-origin: 50% 100%; }
.hero__mascot { position: absolute; width: 460px; right: calc(-1 * var(--s-800)); bottom: calc(-1 * var(--s-500)); z-index: 3; }
@media (max-width: 1023px) {
  .hero { padding-top: calc(var(--s-900) + var(--s-300)); }
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hero__copy { padding-bottom: var(--s-400); }
  .hero__art { height: 520px; }
  .hero__halo { width: 440px; height: 440px; margin-left: -220px; }
  .hero__mascot { width: 340px; right: calc(-1 * var(--s-300)); }
  .hero__phone { left: 15%; }
}
@media (max-width: 767px) { .br-desktop { display: none; } }
@media (max-width: 539px) {
  .hero__cta { flex-direction: column; align-items: stretch; gap: var(--s-50); }
  .hero__cta .btn { justify-content: space-between; }
  .hero__cta .link { justify-content: center; }
  .hero__note { justify-content: center; }
  .hero__art { height: 460px; }
  .hero__halo { width: 340px; height: 340px; margin-left: -170px; top: var(--s-200); }
  .hero__phone { left: var(--s-400); width: 220px; bottom: calc(-1 * var(--s-800)); }
  .hero__mascot { width: 290px; right: calc(-1 * var(--s-600)); bottom: calc(-1 * var(--s-500)); }
}

/* Intents */
.intents { padding: var(--s-700) 0 var(--s-200); }
.intents h2 { margin-bottom: var(--s-200); text-align: center; }
.intents__list { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-75); }
.intents__list a { display: inline-flex; align-items: center; gap: var(--s-75); padding: var(--s-75) var(--s-200); border-radius: var(--r-full); background: var(--white); border: 1px solid var(--line); transition: background-color 300ms var(--ease), color 300ms var(--ease), border-color 300ms var(--ease), transform 300ms var(--ease); }
.intents__list a:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.intents__list a:active { transform: scale(0.98); }
@media (max-width: 767px) {
  .intents h2 { text-align: left; }
  .intents__list { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(-1 * var(--s-300)); padding: 0 var(--s-300) var(--s-75); scrollbar-width: none; }
  .intents__list::-webkit-scrollbar { display: none; }
  .intents__list li { flex: none; scroll-snap-align: start; }
}

/* Randomizer */
.filters { display: flex; flex-direction: column; gap: var(--s-100); }
.types { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s-200); margin-top: var(--s-600); }
.types__item { display: flex; flex-direction: column; gap: var(--s-200); padding: var(--s-300); border-radius: var(--r-3xl); background: var(--gray); }
.types__item .tile { background: var(--white); }
.notice { width: 100%; display: flex; gap: var(--s-200); align-items: flex-start; margin-top: var(--s-300); padding: var(--s-300); border-radius: var(--r-3xl); background: var(--white); border: 1px solid var(--line); }
.notice__text { display: flex; flex-direction: column; gap: var(--s-50); }
@media (max-width: 959px) { .types { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 539px) {
  .types { grid-template-columns: 1fr 1fr; gap: var(--s-100); }
  .types__item { flex-direction: row; align-items: center; padding: var(--s-200); gap: var(--s-100); }
  .types__item .tile { width: 40px; height: 40px; }
  .types__item .heading-6 { font-size: 16px; line-height: 24px; }
  .types__item:last-child { grid-column: span 2; }
  .notice { padding: var(--s-200); }
}

/* Studio */
.music { margin-top: var(--s-300); background: var(--white); border-radius: var(--r-3xl); padding: var(--s-75); box-shadow: var(--shadow-md); }
.music img { width: 100%; aspect-ratio: 1280 / 576; object-fit: cover; border-radius: var(--r-2xl); }

/* Download */
.stats-title { text-align: center; margin-bottom: var(--s-600); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: var(--s-800); }
.stats__item { display: flex; flex-direction: column; align-items: center; gap: var(--s-75); text-align: center; padding: 0 var(--s-300); border-left: 1px solid var(--line); }
.stats__item:first-child { border-left: 0; }
.stats__value { font-variant-numeric: tabular-nums; }
@media (max-width: 767px) { .stats { grid-template-columns: 1fr 1fr; row-gap: var(--s-600); } .stats__item:nth-child(3) { border-left: 0; } }
}
