/* Veylo support, privacy and terms pages (/veylo/*): long-form legal text in the Open Studio type
   system. Pages are generated from the Veylo repository (ios/AppStore/legal/build.py). */
.legal-page .site-header nav.legal-app { display: flex; }
.legal { max-width: calc(760px + 2 * var(--gutter)); padding-bottom: clamp(64px, 9vw, 120px); }
.legal-nav { display: flex; flex-wrap: wrap; gap: 6px 26px; padding-bottom: 18px; border-bottom: 1px solid var(--line); font-size: 16px; font-weight: 500; }
.legal-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); }
.legal-nav a[aria-current="page"] { color: var(--ink); text-decoration: underline 1px; text-underline-offset: 6px; }
.legal section { color: var(--muted); font-size: 18px; line-height: 1.65; }
.legal h1 { margin: 56px 0 16px; color: var(--ink); font-size: clamp(36px, 5vw, 60px); font-weight: 700; line-height: 1.05; letter-spacing: -.045em; }
.legal h2 { margin: 48px 0 12px; color: var(--ink); font-size: clamp(24px, 2.6vw, 30px); font-weight: 600; line-height: 1.2; letter-spacing: -.03em; }
.legal h3 { margin: 30px 0 8px; color: var(--ink); font-size: 20px; font-weight: 600; line-height: 1.3; letter-spacing: -.02em; }
.legal p, .legal ul { margin: 0 0 14px; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 8px; padding-left: 4px; }
.legal p, .legal li { overflow-wrap: anywhere; }
.legal section a { color: var(--ink); text-decoration: underline 1px; text-underline-offset: 4px; text-decoration-color: var(--line); }
.legal section a:hover { text-decoration-color: currentColor; }
.legal hr { border: 0; border-top: 1px solid var(--line); margin: 72px 0 0; }
.legal-contact { margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--subtle); font-size: 15px; }
.legal-contact a { color: var(--ink); text-decoration: underline 1px; text-underline-offset: 4px; }
@media (max-width: 760px) {
  .legal section { font-size: 17px; }
  .legal h1 { margin-top: 40px; }
}
