/* Page-specific sections */

/* Hero section */
.asphalt-hero {
  padding: var(--crha-space-xl) 0;
  background: linear-gradient(135deg, var(--crha-bg) 0%, var(--crha-surface) 100%);
}

.asphalt-hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--crha-space-xl);
  align-items: center;
}

@media (max-width: 768px) {
  .asphalt-hero .container {
    grid-template-columns: 1fr;
    gap: var(--crha-space-lg);
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: var(--crha-space-md);
}

.hero-title {
  font-family: var(--crha-font-heading);
  font-size: var(--crha-text-3xl);
  color: var(--crha-ink);
  line-height: 1.1;
  text-wrap: balance;
}

.hero-lead {
  font-size: var(--crha-text-lg);
  color: var(--crha-ink);
  opacity: 0.8;
  line-height: 1.6;
  text-wrap: pretty;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual img {
  max-width: 100%;
  height: auto;
  border-radius: var(--crha-radius);
}

/* Stride brief section */
.stride-brief {
  padding: var(--crha-space-xl) 0;
  text-align: center;
}

.stride-brief h2 {
  font-family: var(--crha-font-heading);
  font-size: var(--crha-text-2xl);
  color: var(--crha-ink);
  margin-bottom: var(--crha-space-md);
  text-wrap: balance;
}

.stride-brief p {
  font-size: var(--crha-text-lg);
  color: var(--crha-ink);
  opacity: 0.8;
  max-width: 800px;
  margin: 0 auto var(--crha-space-sm);
  line-height: 1.6;
  text-wrap: pretty;
}

/* Mechanic cards section */
.mechanic-cards {
  padding: var(--crha-space-xl) 0;
  background: var(--crha-surface);
}

.mechanic-cards h2 {
  font-family: var(--crha-font-heading);
  font-size: var(--crha-text-2xl);
  color: var(--crha-ink);
  text-align: center;
  margin-bottom: var(--crha-space-lg);
}

/* Traffic reel section */
.traffic-reel {
  padding: var(--crha-space-xl) 0;
}

.traffic-reel h2 {
  font-family: var(--crha-font-heading);
  font-size: var(--crha-text-2xl);
  color: var(--crha-ink);
  text-align: center;
  margin-bottom: var(--crha-space-lg);
}

.reel-caption {
  text-align: center;
  font-size: var(--crha-text-base);
  color: var(--crha-ink);
  opacity: 0.7;
  margin-top: var(--crha-space-md);
  font-style: italic;
}

/* Skin studio section */
.skin-studio {
  padding: var(--crha-space-xl) 0;
  background: var(--crha-surface);
  text-align: center;
}

.skin-studio h2 {
  font-family: var(--crha-font-heading);
  font-size: var(--crha-text-2xl);
  color: var(--crha-ink);
  margin-bottom: var(--crha-space-sm);
}

.skin-studio p {
  font-size: var(--crha-text-lg);
  color: var(--crha-ink);
  opacity: 0.8;
  margin-bottom: var(--crha-space-lg);
}

.skins-preview {
  max-width: 900px;
  margin: 0 auto;
}

.skins-preview img {
  border-radius: var(--crha-radius);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Milestone ticker section */
.milestone-ticker {
  padding: var(--crha-space-xl) 0;
  overflow: hidden;
}

.milestone-ticker h2 {
  font-family: var(--crha-font-heading);
  font-size: var(--crha-text-2xl);
  color: var(--crha-ink);
  text-align: center;
  margin-bottom: var(--crha-space-lg);
}

.ticker-wrap {
  overflow: hidden;
  background: var(--crha-surface);
  padding: var(--crha-space-md) 0;
  border-radius: var(--crha-radius);
}

.ticker-content {
  display: flex;
  gap: var(--crha-space-xl);
  animation: ticker-scroll 30s linear infinite;
  white-space: nowrap;
}

.ticker-content span {
  font-family: var(--crha-font-heading);
  font-size: var(--crha-text-lg);
  color: var(--crha-accent);
  font-weight: 700;
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-content {
    animation: none;
  }
}

/* Coop answers (FAQ) section */
.coop-answers {
  padding: var(--crha-space-xl) 0;
  background: var(--crha-surface);
}

.coop-answers h2 {
  font-family: var(--crha-font-heading);
  font-size: var(--crha-text-2xl);
  color: var(--crha-ink);
  text-align: center;
  margin-bottom: var(--crha-space-lg);
}

.coop-answers details {
  background: var(--crha-bg);
  border: 1px solid var(--crha-line);
  border-radius: var(--crha-radius);
  padding: var(--crha-space-md);
  margin-bottom: var(--crha-space-sm);
  cursor: pointer;
}

.coop-answers summary {
  font-family: var(--crha-font-heading);
  font-size: var(--crha-text-lg);
  font-weight: 600;
  color: var(--crha-ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.coop-answers summary::-webkit-details-marker {
  display: none;
}

.coop-answers summary::after {
  content: "+";
  font-size: var(--crha-text-xl);
  color: var(--crha-accent);
  transition: transform 0.3s ease;
}

.coop-answers details[open] summary::after {
  transform: rotate(45deg);
}

.coop-answers details p {
  margin-top: var(--crha-space-sm);
  padding-top: var(--crha-space-sm);
  border-top: 1px solid var(--crha-line);
  color: var(--crha-ink);
  opacity: 0.8;
  line-height: 1.6;
}

/* Contact deck section */
.contact-deck {
  padding: var(--crha-space-xl) 0;
  text-align: center;
}

.contact-deck h2 {
  font-family: var(--crha-font-heading);
  font-size: var(--crha-text-2xl);
  color: var(--crha-ink);
  margin-bottom: var(--crha-space-sm);
}

.contact-deck > .container > p {
  font-size: var(--crha-text-lg);
  color: var(--crha-ink);
  opacity: 0.8;
  margin-bottom: var(--crha-space-lg);
}

/* Legal slab section */
.legal-slab {
  padding: var(--crha-space-lg) 0;
  background: var(--crha-surface);
  border-top: 1px solid var(--crha-line);
  text-align: center;
}

.legal-slab p {
  font-size: var(--crha-text-sm);
  color: var(--crha-ink);
  opacity: 0.7;
  line-height: 1.6;
}

.legal-slab a {
  color: var(--crha-accent);
  text-decoration: underline;
  transition: opacity 0.3s ease;
}

.legal-slab a:hover {
  opacity: 0.8;
}

/* Footer (root-arc) */
.root-arc {
  background: var(--crha-ink);
  color: var(--crha-surface);
  padding: var(--crha-space-xl) 0 var(--crha-space-lg);
  margin-top: var(--crha-space-xl);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--crha-space-sm);
}

.footer-brand img {
  max-width: 150px;
  height: auto;
}

.footer-brand p {
  font-size: var(--crha-text-sm);
  line-height: 1.6;
  opacity: 0.8;
}

.footer-brand a {
  color: var(--crha-accent);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-brand a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.footer-links h3,
.footer-legal h3 {
  font-family: var(--crha-font-heading);
  font-size: var(--crha-text-lg);
  margin-bottom: var(--crha-space-sm);
  color: var(--crha-surface);
}

.footer-links ul,
.footer-legal ul {
  display: flex;
  flex-direction: column;
  gap: var(--crha-space-xs);
}

.footer-links a,
.footer-legal a {
  font-size: var(--crha-text-sm);
  color: var(--crha-surface);
  opacity: 0.8;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover,
.footer-legal a:hover {
  opacity: 1;
  color: var(--crha-accent);
  padding-left: 4px;
}

.footer-copy {
  text-align: center;
  font-size: var(--crha-text-xs);
  opacity: 0.6;
  padding-top: var(--crha-space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: var(--crha-space-lg);
}

/* Legal page specific styles */
.legal-page {
  padding: var(--crha-space-xl) 0;
}

.legal-page .container {
  max-width: 800px;
}

.legal-page h1 {
  font-family: var(--crha-font-heading);
  font-size: var(--crha-text-3xl);
  color: var(--crha-ink);
  margin-bottom: var(--crha-space-md);
  text-wrap: balance;
}

.legal-page h2 {
  font-family: var(--crha-font-heading);
  font-size: var(--crha-text-xl);
  color: var(--crha-ink);
  margin-top: var(--crha-space-lg);
  margin-bottom: var(--crha-space-sm);
}

.legal-page p {
  font-size: var(--crha-text-base);
  color: var(--crha-ink);
  line-height: 1.8;
  margin-bottom: var(--crha-space-md);
  opacity: 0.9;
}

.legal-page a {
  color: var(--crha-accent);
  text-decoration: underline;
  transition: opacity 0.3s ease;
}

.legal-page a:hover {
  opacity: 0.8;
}

.legal-page strong {
  font-weight: 700;
  color: var(--crha-ink);
}
