/* Voice page layouts: left/right splits for features and phones. Uses tokens from /styles.css. */

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 3rem;
  align-items: center;
}

.split .section-header {
  text-align: left;
  max-width: none;
  margin: 0;
}

.split .section-header .btn {
  margin-top: 1.5rem;
}

/* Compact feature list in one panel */
.feature-panel {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 1.75rem;
}

.feature-panel.single {
  grid-template-columns: minmax(0, 1fr);
}

.feature {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
}

.feature-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-soft);
  border-radius: 8px;
  color: var(--color-accent);
}

.feature h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.feature p,
.feature ul {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.feature ul {
  margin-top: 0.4rem;
  padding-left: 1.1rem;
}

.feature li {
  margin-bottom: 0.2rem;
}

/* Phone picture */
.phone-figure {
  margin: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1rem 1.5rem 1.25rem;
  text-align: center;
}

/* The product photo is square with wide white margins; crop to 4:3 around the phone. */
.phone-figure img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.phone-figure svg,
.phone-figure img {
  width: 100%;
  max-width: 380px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.phone-figure figcaption {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.phone-figure figcaption strong {
  display: block;
  color: var(--color-text);
  font-size: 1rem;
}

@media (max-width: 900px) {
  .split {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  .feature-panel {
    grid-template-columns: minmax(0, 1fr);
    padding: 1.25rem;
  }
}
