/* Shared layout for the homepage and product pages. */
:root {
  --action-space: clamp(24px, 2.4vw, 32px);
  --action-gap: 12px;
  --hero-title: clamp(38px, 4.8vw, 68px);
  --section-space: clamp(56px, 7vw, 96px);
  --panel-radius: 8px;
}

.hero-carousel-section .sprint-hero h1,
.product-hero h1 {
  font: 500 var(--hero-title)/1.08 'Manrope', sans-serif;
  letter-spacing: -.055em;
  margin: 16px 0 20px;
}

.product-hero h1 em {
  font: inherit;
  color: #518878;
}

.pine h1 em { color: #c9e2a7; }

.product-hero .eyebrow,
.sprint-hero .eyebrow {
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.sprint-hero .hero-copy > p:not(.hero-note),
.product-hero .intro {
  max-width: 54ch;
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.65;
}

.product-hero.paper .intro { color: var(--muted); }

.sprint-hero .hero-actions,
.product-hero .hero-actions,
.product-end .hero-actions {
  margin: var(--action-space) 0 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--action-gap);
}

.hero-actions > a.button,
.hero-actions > a.text-link,
.contact-intro > a.booking-link,
.demo-choices > a.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  box-sizing: border-box;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}

.hero-actions > a.button,
.hero-actions > a.text-link { margin: 0; }

.hero-actions > a:is(.button, .text-link) + a {
  color: var(--ink);
  background: transparent;
  border-color: #8aa399;
}
.hero-actions > a:is(.button, .text-link) + a:hover { background: #e5eee6; color: var(--ink); }
.pine .hero-actions > a:is(.button, .text-link) + a { color: white; border-color: #87aa9c; }
.pine .hero-actions > a:is(.button, .text-link) + a:hover { background: #28564b; color: white; }
.pine .hero-actions > a:first-child:hover { background: #edf9de; color: #123b30; }

.demo-choices > a.button,
.contact-intro > a.booking-link { margin: var(--action-space) 0 0; }

.hero-actions > a:focus-visible,
.demo-choices > a:focus-visible,
.contact-intro > a:focus-visible { outline: 3px solid #719e60; outline-offset: 4px; }

main > .section,
.portfolio > .section,
.timeline-section > .section,
.industry,
.product-end { padding-block: var(--section-space); }

.product-proof,
.call-example,
.journal-story figure,
.journal-diagrams section { border-radius: var(--panel-radius); }
.product-proof { box-shadow: none; }
.product-grid { gap: clamp(32px, 4.5vw, 64px); }

@media (max-width: 760px) {
  .product-hero { padding-block: 40px; }
  .product-grid { gap: 32px; }
}
@media (max-width: 480px) {
  .hero-actions > a.button,
  .hero-actions > a.text-link { flex: 1 1 100%; }
}
