/* innerexile unified multilingual homepage */

.ix-home {
  background: #f5f5f7;
  color: #1d1d1f;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Noto Sans TC", "Noto Sans JP", sans-serif;
}

.ix-home-hero {
  min-height: 560px;
  background: #fff;
  display: flex;
  align-items: center;
  padding: 96px 24px 84px;
}

.ix-home-hero-inner {
  width: min(1200px, 100%);
  margin: 0 auto;
}

.ix-home-kicker {
  font-size: 12px;
  line-height: 1;
  letter-spacing: .34em;
  color: rgba(29,29,31,.34);
  text-transform: uppercase;
  margin-bottom: 28px;
}

.ix-home-title {
  max-width: 820px;
  margin: 0;
  color: #1d1d1f;
  font-size: clamp(48px, 5.8vw, 76px);
  line-height: 1.04;
  font-weight: 600;
  letter-spacing: -0.055em;
}

.ix-home-lead {
  max-width: 760px;
  margin-top: 28px;
  color: rgba(29,29,31,.58);
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.48;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.ix-home-cta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.ix-home-btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  padding: 0 22px;
  font-size: 17px;
  line-height: 1;
  text-decoration: none;
  transition: transform .16s ease;
}

.ix-home-btn:active {
  transform: scale(.95);
}

.ix-home-btn.primary {
  background: #0066cc;
  color: #fff;
}

.ix-home-btn.secondary {
  border: 1px solid #0066cc;
  color: #0066cc;
  background: transparent;
}

.ix-home-btn.dark {
  background: #1d1d1f;
  color: #fff;
}

.ix-home-section {
  background: #f5f5f7;
  padding: 92px 24px 110px;
}

.ix-home-grid {
  width: min(1200px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 24px;
}

.ix-home-grid.top {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ix-home-grid.bottom {
  margin-top: 52px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ix-home-card {
  min-height: 180px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 18px;
  padding: 28px;
  box-shadow: none;
  text-decoration: none;
}

.ix-home-card-kicker {
  font-size: 12px;
  line-height: 1;
  letter-spacing: .34em;
  color: rgba(29,29,31,.32);
  text-transform: uppercase;
  margin-bottom: 22px;
}

.ix-home-card h2,
.ix-home-card h3 {
  margin: 0;
  color: #1d1d1f !important;
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.ix-home-card.small h3 {
  font-size: 25px;
}

.ix-home-card p {
  margin: 18px 0 0;
  color: rgba(29,29,31,.58) !important;
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.02em;
}

html[lang="ja"] .ix-home-title,
html[lang="ja"] .ix-home-card h2,
html[lang="ja"] .ix-home-card h3 {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  font-weight: 500;
  letter-spacing: -0.045em;
}

html[lang="ja"] .ix-home-lead,
html[lang="ja"] .ix-home-card p {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .ix-home-hero {
    min-height: auto;
    padding: 72px 22px;
  }

  .ix-home-grid.top,
  .ix-home-grid.bottom {
    grid-template-columns: 1fr;
  }

  .ix-home-section {
    padding: 56px 22px 80px;
  }
}
