/* The About and Contact pages: the success page's centred hero, then numbered sections in the product pages' manner */
.co-hero {
  padding: calc(var(--space-3xl) + var(--navbar-height, 64px)) 0 var(--space-2xl);
  text-align: center;
}

.co-hero h1 {
  margin: var(--space-md) auto 0;
  max-width: 20ch;
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.co-sub {
  margin: var(--space-md) auto 0;
  max-width: 58ch;
  font-size: var(--text-lg);
  line-height: 1.6;
  color: var(--text-secondary);
}

.co-sub a,
.co-prose a,
.co-card-link {
  color: var(--accent);
  text-decoration: none;
}

.co-sub a:hover,
.co-prose a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.co-section {
  padding: var(--space-2xl) 0;
  border-top: 1px solid var(--border);
}

.co-head {
  max-width: 64ch;
  margin-bottom: var(--space-xl);
}

.co-head h2 {
  margin-top: var(--space-md);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing: -0.015em;
}

.co-prose {
  max-width: 64ch;
}

.co-prose p {
  margin-top: var(--space-md);
  line-height: 1.65;
  color: var(--text-secondary);
}

.co-prose p:first-child {
  margin-top: 0;
}

/* the figures: four up, hairlines between */
.co-figures {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  border-top: 1px solid var(--border);
}

.co-figures div {
  padding: var(--space-lg) var(--space-md) var(--space-lg) 0;
  border-bottom: 1px solid var(--border);
}

.co-figures dt {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.co-figures dd {
  margin: 0.4rem 0 0.2rem;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.co-figures span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* the contact cards: three hairline panels */
.co-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: var(--space-md);
}

.co-card {
  padding: var(--space-xl);
  border: 1px solid var(--border);
}

.co-card h2 {
  margin-top: var(--space-md);
  font-size: 1.35rem;
  letter-spacing: -0.01em;
}

.co-card p {
  margin-top: var(--space-sm);
  line-height: 1.6;
  color: var(--text-secondary);
}

.co-card-link {
  display: inline-block;
  margin-top: var(--space-md);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.co-card-link:hover {
  color: var(--text-primary);
}

/* the legal pages: the terms as prose, the two iubenda policies in their embed */
.co-hero--legal h1 { max-width: none; }
.co-legal { max-width: 72ch; }
.co-legal h2 { margin-top: var(--space-xl); font-size: 1.35rem; letter-spacing: -0.01em; }
.co-legal h2:first-child { margin-top: 0; }
.co-legal h3 { margin-top: var(--space-lg); font-size: 1.05rem; }
.co-legal p, .co-legal li { margin-top: var(--space-sm); line-height: 1.65; color: var(--text-secondary); }
.co-legal ul { margin-top: var(--space-sm); padding-left: 1.25rem; list-style: disc; }
.co-legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.co-legal-embed { max-width: none; }
.co-legal-embed > a { font-family: var(--font-mono); font-size: 0.8rem; color: var(--accent); }
.co-legal-embed .iub_content { font-family: var(--font-sans); color: var(--text-secondary); }
.co-legal-embed .iub_content h1, .co-legal-embed .iub_content h2, .co-legal-embed .iub_content h3, .co-legal-embed .iub_content h4 { color: var(--text-primary); }
