/* ================================
   SHARED PAGE COMPONENTS
================================ */

/* Hero layout used across core content and policy pages. */
.hero {
  background: #fafafa;
  padding: 120px 0;
}

.hero > .container {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: 40px;
  align-items: center;
}

.hero-left,
.hero-right {
  min-width: 0;
}

.hero-left p {
  max-width: 640px;
  font-size: 18px;
  color: #555;
  text-align: left;
}

.hero-image-wrapper {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-video-wrapper {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.hero-video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.hero-cta {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  user-select: none;
  white-space: nowrap;
}

.cta-btn:active {
  transform: translateY(1px);
}

.cta-primary {
  background: #333333;
  color: #fff;
  box-shadow: 0 10px 22px rgba(0,0,0,0.10);
}

.cta-primary:hover {
  background: #2a2a2a;
}

.cta-secondary {
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(0,0,0,0.12);
  color: #222;
  box-shadow: 0 10px 22px rgba(0,0,0,0.06);
}

.cta-secondary:hover {
  background: rgba(255,255,255,0.85);
  border-color: rgba(0,0,0,0.18);
}

.cta-btn:focus-visible {
  outline: 3px solid rgba(153,153,153,0.55);
  outline-offset: 3px;
}

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

  .hero-image-wrapper {
    max-width: 100%;
  }

  .hero-right {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-btn {
    width: 100%;
  }
}

/* Shared legal-policy content styling. */
.policy-section {
  background: #fff;
  padding: 80px 0;
}

.policy-content {
  max-width: 900px;
  margin: 0 auto;
  color: #444;
  font-size: 16px;
  line-height: 1.75;
}

.policy-content h2 {
  margin-top: 44px;
  margin-bottom: 14px;
  color: #222;
}

.policy-content h2:first-child {
  margin-top: 0;
}

.policy-content p {
  margin-bottom: 18px;
  text-align: left;
}

.policy-content ul {
  margin: 0 0 24px 22px;
  padding: 0;
}

.policy-content li {
  margin-bottom: 10px;
}

.policy-updated {
  color: #666;
  font-size: 14px;
  margin-bottom: 32px;
}
