.page-index { background-color: #0D0E12; color: #f5f5f5; }

/* Hero */
.page-index__hero-section {
  padding-top: 0;
  margin-top: 0;
  width: 100%;
  overflow: hidden;
  background: #0D0E12;
}
.page-index__hero-container {
  max-width: 1200px;
  margin: 0 auto;
}
.page-index__hero-link { display: block; text-decoration: none; }
.page-index__hero-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 17 / 5;
}

/* Logo Grid */
.page-index__logo-grid-section {
  background-color: #0D0E12;
  padding: 24px 16px 10px;
}
.page-index__logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 16px;
  justify-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.page-index__logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 260px;
  text-align: center;
  padding: 10px;
  background: #17191F;
  border-radius: 12px;
  border: 1px solid rgba(255, 140, 26, 0.2);
}
.page-index__logo-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
}
.page-index__logo-cta {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 999px;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(255, 140, 26, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}
.page-index__logo-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(255, 176, 77, 0.5);
}
.page-index__logo-item:nth-child(5) { grid-column: 2; }
.page-index__logo-item:nth-child(6) { grid-column: 3; }

/* Guide */
.page-index__guide-section { background-color: #0D0E12; }
.page-index__guide-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 32px 16px 48px;
}
.page-index__guide-title {
  text-align: center;
  color: #FF8C1A;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  max-width: 900px;
  margin: 12px auto 20px;
  font-size: clamp(1.4rem, 2vw + 1rem, 2rem);
}
.page-index__guide-lead {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #FFF3E6;
  margin-bottom: 1.5rem;
}
.page-index__guide-inner a {
  color: #FFA53A;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.page-index__guide-inner a:hover { color: #FFB04D; }
.page-index__guide-inner ul, .page-index__guide-inner ol { color: #f5f5f5; }
.page-index__guide-figure {
  margin: 24px auto;
  text-align: center;
  max-width: 800px;
}
.page-index__guide-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border-radius: 12px;
}
.page-index__guide-figure figcaption {
  font-size: 0.9rem;
  color: #89a;
  margin-top: 8px;
  font-style: italic;
}
.page-index__guide-list {
  padding-left: 1.25rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.page-index__guide-list strong { color: #FFB04D; }
.page-index__faq-item {
  border: 1px solid #A84F0C;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  background-color: #17191F;
  color: #FFF3E6;
}
.page-index__faq-item[open] { background: #17191F; }
.page-index__faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: #FFA53A;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.page-index__faq-icon {
  font-size: 1.2rem;
  color: #FF8C1A;
}
.page-index__guide-quote {
  border-left: 4px solid #FF8C1A;
  padding: 0.5rem 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: #FFA53A;
  font-weight: 500;
  background: linear-gradient(90deg, rgba(255,140,26,0.08), transparent);
}

/* Buttons & lists inside guide should not overflow */
.page-index__guide-inner a btn,
.page-index__guide-inner a.button { max-width: 100%; box-sizing: border-box; }

@media (max-width: 1024px) {
  .page-index__guide-title { max-width: 80%; }
  .page-index__logo-item { max-width: 220px; }
}

@media (max-width: 768px) {
  .page-index__hero-image { aspect-ratio: 2 / 1; }
  .page-index__logo-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .page-index__logo-item:nth-child(5), .page-index__logo-item:nth-child(6) { grid-column: auto; }
  .page-index__guide-title { font-size: 1.25rem; max-width: 100%; }
  .page-index__guide-figure { max-width: 100%; }
  .page-index img { max-width: 100% !important; height: auto !important; }
  .page-index a, .page-index button, .page-index a.btn { max-width: 100%; box-sizing: border-box; word-wrap: break-word; text-align: center; }
}