/* =========================================================
   PAGE · SCENARIOS (HUB)
   Scope: .page-scenarios ONLY
========================================================= */

.page-scenarios {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

.page-scenarios .scenarios-hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
  padding: 2.5rem;
  border-radius: 18px;
  background: linear-gradient(135deg, #fef9f3 0%, #eef2ff 100%);
  border: 1px solid #e5e7eb;
  margin-bottom: 2.5rem;
}

.page-scenarios .hero-eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #f97316;
  margin-bottom: 0.5rem;
}

.page-scenarios h1 {
  font-size: 2.4rem;
  margin: 0 0 0.75rem;
  color: #111827;
}

.page-scenarios .subtitle {
  font-size: 1.05rem;
  color: #4b5563;
  line-height: 1.6;
  max-width: 620px;
}

.page-scenarios .hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.page-scenarios .hero-panel {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  padding: 1.5rem;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.page-scenarios .hero-panel h3 {
  margin-bottom: 0.75rem;
  color: #111827;
}

.page-scenarios .hero-steps {
  margin: 0;
  padding-left: 1.2rem;
  color: #4b5563;
  line-height: 1.6;
}

.page-scenarios .scenarios-intro {
  margin-bottom: 2.5rem;
  max-width: 760px;
  line-height: 1.7;
  color: #4b5563;
}

.page-scenarios .scenarios-list {
  margin-bottom: 3rem;
}

.page-scenarios .section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.page-scenarios .section-head h2 {
  font-size: 1.7rem;
  color: #111827;
}

.page-scenarios .section-hint {
  color: #6b7280;
  max-width: 480px;
}

.page-scenarios .scenario-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.page-scenarios .scenario-card {
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  min-height: 180px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
  transition: transform 0.14s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.page-scenarios .scenario-card .scenario-card-link {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 180px;
  padding: 1.25rem;
  text-decoration: none;
  color: inherit;
}

.page-scenarios .scenario-card:hover {
  transform: translateY(-2px);
  border-color: #93c5fd;
  box-shadow: 0 12px 24px rgba(30, 64, 175, 0.13);
}

.page-scenarios .scenario-card:focus-within {
  outline: 2px solid #93c5fd;
  outline-offset: 2px;
}

.page-scenarios .scenario-card h3 {
  margin-bottom: 0.5rem;
  color: #111827;
}

.page-scenarios .scenario-card .scenario-hint {
  color: #4b5563;
  line-height: 1.5;
}

.page-scenarios .scenario-card .card-link {
  margin-top: 1rem;
  font-weight: 600;
  color: #2563eb;
}

.page-scenarios .scenario-card .scenario-card-link:hover .card-link {
  text-decoration: underline;
}

.page-scenarios .scenario-card .scenario-card-link:focus-visible .card-link {
  text-decoration: underline;
}

.page-scenarios .scenarios-next {
  padding: 2rem;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
}

.page-scenarios .scenarios-next h2 {
  font-size: 1.6rem;
  margin-bottom: 0.6rem;
}

.page-scenarios .scenarios-next .section-hint {
  margin-bottom: 1rem;
}

@media (max-width: 900px) {
  .page-scenarios .scenarios-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .page-scenarios {
    padding: 2rem 1rem 3rem;
  }

  .page-scenarios h1 {
    font-size: 2rem;
  }

  .page-scenarios .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
}
