/* StreamMagic platform page */

.sm-hero {
  background: #f5f5f5;
  padding: clamp(60px, 9vw, 140px) var(--space-lg) clamp(40px, 6vw, 80px);
  text-align: center;
}

.sm-hero h1 {
  font-family: var(--font-sans-wide, var(--font-sans));
  font-size: clamp(40px, 8vw, 96px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 clamp(8px, 1.5vw, 16px);
}

.sm-hero .sm-tagline {
  font-family: 'Tiempos Headline', Georgia, serif;
  font-size: clamp(18px, 2.4vw, 28px);
  font-weight: 300;
  margin: 0 0 clamp(20px, 3vw, 32px);
  color: var(--color-text-muted);
}

.sm-hero .sm-description {
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: var(--leading-normal);
  text-align: left;
}

/* Three key elements: 3-column grid */
.sm-three-keys {
  background: #000;
  color: #fff;
  padding: clamp(60px, 8vw, 100px) var(--space-lg);
}

.sm-three-keys-inner {
  max-width: var(--container-content);
  margin: 0 auto;
}

.sm-three-keys-media {
  margin: 0 auto clamp(28px, 4vw, 48px);
  max-width: 280px;
  text-align: center;
}

.sm-three-keys-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.sm-three-keys h2.sm-section-eyebrow {
  font-family: 'Tiempos Headline', Georgia, serif;
  font-size: clamp(24px, 3.6vw, 40px);
  font-weight: 300;
  text-align: center;
  margin: 0 0 clamp(32px, 5vw, 56px);
}

.sm-keys-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
}

.sm-key-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: clamp(24px, 3vw, 40px);
}

.sm-key-card h3 {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  margin: 0 0 clamp(12px, 1.5vw, 18px);
  color: #00d4c4;
}

.sm-key-card p {
  margin: 0 0 12px;
  line-height: var(--leading-normal);
  font-size: 15px;
  color: rgba(255,255,255,0.85);
}

.sm-key-card p:last-child { margin-bottom: 0; }

@media (max-width: 768px) {
  .sm-keys-grid { grid-template-columns: 1fr; }
}

/* Story sections */
.sm-section {
  padding: clamp(48px, 6vw, 88px) var(--space-lg);
}

.sm-section--alt {
  background: #f5f5f5;
}

.sm-section-inner {
  max-width: var(--container-content);
  margin: 0 auto;
}

/* Feature-row layout: image + text in 2 columns. Reverse modifier flips image to right. */
.sm-section--with-media {
  padding-top: clamp(56px, 7vw, 96px);
  padding-bottom: clamp(56px, 7vw, 96px);
}

.sm-section-grid {
  max-width: var(--container-content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.sm-section--reverse .sm-section-grid {
  direction: rtl;
}

.sm-section--reverse .sm-section-grid > * {
  direction: ltr;
}

.sm-section--with-media .sm-section-inner {
  max-width: 560px;
  margin: 0;
}

.sm-section-media {
  margin: 0;
}

.sm-section-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

@media (max-width: 768px) {
  .sm-section-grid,
  .sm-section--reverse .sm-section-grid {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: clamp(20px, 4vw, 32px);
  }
  .sm-section--with-media .sm-section-inner {
    max-width: 100%;
  }
}

.sm-section h2 {
  font-family: var(--font-sans-wide, var(--font-sans));
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 clamp(16px, 2vw, 24px);
}

.sm-section p {
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: var(--leading-normal);
  margin: 0 0 clamp(12px, 1.5vw, 18px);
  max-width: 780px;
}

.sm-section p:last-child { margin-bottom: 0; }

.sm-attribution {
  font-style: italic;
  color: var(--color-text-muted);
  font-size: 14px;
}

/* FAQ section */
.sm-faqs {
  padding: clamp(48px, 6vw, 88px) var(--space-lg);
  background: #fff;
}

.sm-faqs-inner {
  max-width: var(--container-content);
  margin: 0 auto;
}

.sm-faqs h2 {
  font-family: var(--font-sans-wide, var(--font-sans));
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 700;
  margin: 0 0 clamp(20px, 3vw, 32px);
}

.sm-faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: 16px 0;
}

.sm-faq-item p {
  margin: 0;
  font-size: 15px;
  line-height: var(--leading-normal);
}

.sm-faq-more { margin-top: 24px; }

/* Lineup */
.sm-lineup {
  background: #000;
  color: #fff;
  padding: clamp(60px, 8vw, 100px) var(--space-lg);
}

.sm-lineup-inner {
  max-width: var(--container-content);
  margin: 0 auto;
  text-align: center;
}

.sm-lineup h2 {
  font-family: var(--font-sans-wide, var(--font-sans));
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 700;
  margin: 0 0 clamp(32px, 5vw, 56px);
}

.sm-lineup-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 32px);
}

.sm-lineup-card {
  display: block;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: clamp(20px, 3vw, 32px);
  text-decoration: none;
  color: inherit;
  transition: background 0.25s ease, transform 0.25s ease;
}

.sm-lineup-card:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}

.sm-lineup-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  margin-bottom: 16px;
}

.sm-lineup-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.02em;
}

@media (max-width: 768px) {
  .sm-lineup-grid { grid-template-columns: 1fr; }
}

/* Fine print */
.sm-fineprint {
  padding: 32px var(--space-lg);
  background: #f5f5f5;
}

.sm-fineprint-inner {
  max-width: var(--container-content);
  margin: 0 auto;
  font-size: 12px;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.sm-fineprint p { margin: 0 0 8px; }
.sm-fineprint p:last-child { margin-bottom: 0; }
