/* Solution page */
.mockup-strip {
  display: flex;
  gap: var(--space-md);
  overflow-x: auto;
  padding-block: var(--space-lg);
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.mockup-strip__item {
  flex: 0 0 200px;
  scroll-snap-align: start;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.mockup-strip__screen {
  aspect-ratio: 9 / 19;
  background: var(--section-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-align: center;
  padding: var(--space-sm);
}

.mockup-strip__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mockup-strip__label {
  padding: var(--space-sm);
  font-size: var(--text-xs);
  text-align: center;
  font-weight: 600;
}

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  margin-bottom: var(--space-2xl);
}

.feature-block:nth-child(even) .feature-block__visual { order: 2; }
.feature-block:nth-child(even) .feature-block__text { order: 1; }

.storyboard {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--space-md);
  margin-block: var(--space-xl);
}

.storyboard__panel {
  aspect-ratio: 4 / 3;
  background: #fff;
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-align: center;
  padding: var(--space-sm);
}

.storyboard__panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius-sm) - 2px);
}

/* Evaluation page */
.method-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.method-chip {
  background: #fff;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.finding-card {
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
}

.finding-card--success {
  background: var(--color-success-bg);
  border-left: 4px solid var(--color-success);
}

.finding-card--issue {
  background: var(--color-danger-bg);
  border-left: 4px solid var(--color-danger);
}

.finding-card__severity {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: var(--space-xs);
}

@media (max-width: 768px) {
  .feature-block { grid-template-columns: 1fr; }
  .feature-block:nth-child(even) .feature-block__visual { order: 0; }
}

/* Prototype page */
.prototype-page .site-header {
  position: relative;
}

.prototype-main {
  padding: var(--space-xl) 0 var(--space-3xl);
  background: var(--section-white);
  min-height: calc(100vh - var(--nav-height));
}

.prototype-main__inner {
  max-width: var(--content-wide);
}

.prototype-main__header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.prototype-main__header h1 {
  font-size: var(--text-3xl);
  margin: var(--space-md) 0 var(--space-sm);
}

.prototype-main__header p {
  color: var(--color-text-muted);
  max-width: 36rem;
  margin: 0 auto var(--space-lg);
}

.prototype-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
}

.prototype-center {
  display: grid;
  grid-template-columns: 1fr minmax(220px, 280px);
  gap: var(--space-2xl);
  align-items: start;
  justify-items: center;
}

.prototype-hero {
  padding-bottom: var(--space-xl);
}

.prototype-stage-section {
  padding-top: var(--space-2xl);
}

.prototype-layout {
  display: grid;
  grid-template-columns: 1fr minmax(240px, 320px);
  gap: var(--space-2xl);
  align-items: start;
}

.prototype-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.phone-frame {
  width: min(100%, 402px);
}

.phone-frame__bezel {
  background: linear-gradient(145deg, #2a2a3a 0%, #12121f 100%);
  border-radius: 48px;
  padding: 14px 12px 18px;
  box-shadow:
    0 24px 60px rgba(26, 26, 46, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.phone-frame__speaker {
  width: 96px;
  height: 6px;
  margin: 0 auto 10px;
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.45);
}

.phone-frame__screen {
  position: relative;
  border-radius: 36px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 402 / 874;
  width: 100%;
  max-width: 100%;
  line-height: normal;
  display: flex;
  flex-direction: column;
  isolation: isolate;
}

.phone-frame__home-indicator {
  width: 120px;
  height: 4px;
  margin: 12px auto 0;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.35);
}

.prototype-hint {
  margin-top: var(--space-lg);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-align: center;
  max-width: 28rem;
}

.prototype-sidebar h3 {
  margin-bottom: var(--space-sm);
}

.prototype-sidebar__intro {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.prototype-flow-list {
  font-size: var(--text-sm);
  margin: var(--space-md) 0;
  padding-left: 1.25rem;
}

.prototype-flow-list li + li {
  margin-top: var(--space-xs);
}

.prototype-sidebar__note {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .prototype-layout,
  .prototype-center {
    grid-template-columns: 1fr;
  }

  .prototype-sidebar {
    order: 2;
    width: 100%;
    max-width: 402px;
  }
}
