/*
 * MOV enterprise public-surface layer.
 *
 * Purpose: strengthen readability, interaction sizing, and global-shell
 * consistency without broadening product claims or changing Runtime
 * Acceptance semantics. This file intentionally overrides only buyer-facing
 * presentation primitives shared by homepage, concept, and trust/legal pages.
 */

h1,
h2,
h3 {
  text-wrap: balance;
}

p,
li {
  text-wrap: pretty;
}

.site-nav {
  gap: 26px;
  font-size: 0.9rem;
}

.nav-cta {
  min-height: 44px;
  padding-inline: 16px;
  font-size: 0.86rem;
}

.eyebrow {
  font-size: 0.78rem;
}

.kicker {
  font-size: 0.76rem;
}

.trust-strip {
  font-size: 0.78rem;
}

.integration-notes,
.integration-notes li {
  font-size: 0.78rem;
}

.decision-pill {
  font-size: 0.76rem;
}

.signal {
  font-size: 0.78rem;
}

.reason-block span {
  font-size: 0.75rem;
}

.proof-note,
.release-note {
  font-size: 0.86rem;
  line-height: 1.65;
}

.card-index {
  font-size: 0.76rem;
}

.question-card > p:last-child,
.decision-card p {
  font-size: 0.95rem;
  line-height: 1.65;
}

.decision-card code {
  font-size: 0.78rem;
  line-height: 1.65;
}

.step-number {
  font-size: 0.78rem;
}

.proof-callout p {
  font-size: 0.96rem;
  line-height: 1.65;
}

.terminal-bar p,
.code-panel-header {
  font-size: 0.76rem;
}

.terminal pre,
.code-panel pre {
  font-size: clamp(0.78rem, 1.15vw, 0.86rem);
}

.cli-panel p {
  font-size: 0.82rem;
}

.cli-panel code {
  font-size: 0.8rem;
}

.comparison-table thead th {
  font-size: 0.76rem;
}

.comparison-table tbody th {
  font-size: 0.95rem;
}

.comparison-table td {
  font-size: 0.9rem;
  line-height: 1.6;
}

.trust-list strong {
  font-size: 0.95rem;
}

.trust-list span {
  font-size: 0.9rem;
  line-height: 1.65;
}

.faq-list details p {
  font-size: 0.95rem;
  line-height: 1.7;
}

.text-link {
  font-size: 0.9rem;
}

a.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.concept-breadcrumbs,
.concept-meta {
  font-size: 0.82rem;
}

.concept-breadcrumbs a {
  min-height: 44px;
}

.concept-proof-chain {
  font-size: 0.84rem;
}

.concept-code {
  font-size: 0.86rem;
}

.concept-card p,
.concept-related-link span {
  font-size: 0.95rem;
  line-height: 1.65;
}

.legal-back {
  min-height: 44px;
  align-items: center;
  margin-bottom: 36px;
  font-size: 0.8rem;
}

.legal-meta {
  font-size: 0.8rem;
  line-height: 1.55;
}

.legal-section p,
.legal-section li,
.legal-notice {
  line-height: 1.7;
}

/* Canonical global footer. The same information architecture is rendered on
 * homepage, concept, and trust/legal surfaces by apply-enterprise-shell.mjs.
 */
.site-footer {
  padding: 64px 0 28px;
  border-top: 1px solid var(--line);
  background: var(--bg-deep);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(280px, 1.55fr) repeat(3, minmax(120px, 0.72fr));
  align-items: start;
  gap: clamp(34px, 5vw, 72px);
}

.footer-brand-block {
  max-width: 440px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}

.footer-brand-block > p {
  max-width: 380px;
  margin: 20px 0 0;
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.65;
}

.footer-email {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-top: 10px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.footer-brand-block .footer-operator {
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.footer-operator a,
.footer-profile-links a,
.footer-link-group a,
.footer-bottom a {
  color: var(--text-soft);
  transition: color 160ms ease;
}

.footer-operator a:hover,
.footer-profile-links a:hover,
.footer-link-group a:hover,
.footer-bottom a:hover,
.footer-operator a:focus-visible,
.footer-profile-links a:focus-visible,
.footer-link-group a:focus-visible,
.footer-bottom a:focus-visible {
  color: var(--accent);
}

.footer-profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin-top: 8px;
}

.footer-profile-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.footer-link-group {
  display: grid;
  align-content: start;
  gap: 4px;
}

.footer-link-group h2 {
  margin: 0 0 10px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-link-group a {
  display: inline-flex;
  width: fit-content;
  min-height: 44px;
  align-items: center;
  font-size: 0.88rem;
}

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  line-height: 1.5;
}

.footer-bottom a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-self: end;
}

@media (max-width: 980px) {
  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand-block {
    grid-column: 1 / -1;
    max-width: 600px;
  }
}

@media (max-width: 640px) {
  .site-footer {
    padding-top: 50px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-brand-block {
    grid-column: auto;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 4px;
    margin-top: 36px;
  }

  .footer-bottom a {
    justify-self: start;
  }

  .terminal pre,
  .code-panel pre,
  .concept-code {
    font-size: 0.78rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer-operator a,
  .footer-profile-links a,
  .footer-link-group a,
  .footer-bottom a {
    transition: none;
  }
}
