/* Shared styling for the brand-site legal pages (Terms, Privacy, Asset License).
   Static, no scripts; uses the self-hosted brand fonts and the guide's tokens. */
@font-face { font-family:'Saans'; font-weight:400; font-style:normal; font-display:swap; src:url('/pitches/mtnbrand/assets/fonts/SaansRegular.woff2') format('woff2'); }
@font-face { font-family:'Saans'; font-weight:500; font-style:normal; font-display:swap; src:url('/pitches/mtnbrand/assets/fonts/SaansMedium.woff2') format('woff2'); }
@font-face { font-family:'Saans'; font-weight:600; font-style:normal; font-display:swap; src:url('/pitches/mtnbrand/assets/fonts/SaansSemiBold.woff2') format('woff2'); }
@font-face { font-family:'Saans'; font-weight:700; font-style:normal; font-display:swap; src:url('/pitches/mtnbrand/assets/fonts/SaansBold.woff2') format('woff2'); }
@font-face { font-family:'Ivar Display'; font-weight:400; font-style:normal; font-display:swap; src:url('/pitches/mtnbrand/assets/fonts/IvarDisplay-Regular.woff2') format('woff2'); }
@font-face { font-family:'Ivar Display'; font-weight:400; font-style:italic; font-display:swap; src:url('/pitches/mtnbrand/assets/fonts/IvarDisplay-Italic.woff2') format('woff2'); }

:root {
  --navy: #062842; --cream: #F6F1EC; --ink: #212121; --red: #A41E22; --marigold: #F29F1F;
  --sky: #147CB2; --terracotta: #D24B27;
  --sans: 'Saans', Arial, system-ui, sans-serif;
  --serif: 'Ivar Display', 'Playfair Display', Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { background: var(--cream); color: var(--navy); font-family: var(--sans); line-height: 1.6; }
img { display: block; max-width: 100%; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: var(--cream); padding: 10px 14px; border-radius: 8px; z-index: 10; text-decoration: none; font-weight: 600; }
.skip:focus { left: 16px; }

.top { background: var(--navy); color: var(--cream); padding: 22px 40px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.top__logo img { height: 44px; width: auto; }
.top__back { color: rgba(246,241,236,0.8); text-decoration: none; font-size: 14px; font-weight: 600; border: 1px solid rgba(246,241,236,0.3); padding: 10px 18px; border-radius: 999px; transition: background 0.2s, color 0.2s; white-space: nowrap; }
.top__back:hover, .top__back:focus-visible { background: var(--cream); color: var(--navy); }

.doc { max-width: 780px; margin: 0 auto; padding: 64px 24px 96px; }
.doc h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 6vw, 58px); line-height: 1.05; letter-spacing: -0.01em; margin-bottom: 14px; }
.doc__meta { font-size: 14px; color: rgba(6,40,66,0.62); margin-bottom: 34px; }
.doc__intro { font-size: 18px; line-height: 1.6; margin-bottom: 30px; }
.doc__toc { background: rgba(6,40,66,0.05); border-radius: 12px; padding: 20px 24px; margin-bottom: 44px; font-size: 14px; }
.doc__toc p { margin: 0 0 8px; font-weight: 700; }
.doc__toc ol { padding-left: 20px; columns: 2; column-gap: 32px; margin: 0; }
.doc__toc li { margin: 4px 0; break-inside: avoid; }
.doc__toc a { color: var(--navy); text-decoration: none; }
.doc__toc a:hover, .doc__toc a:focus-visible { text-decoration: underline; }
.doc h2 { font-weight: 700; font-size: 22px; line-height: 1.25; margin: 44px 0 12px; scroll-margin-top: 24px; }
.doc h3 { font-weight: 700; font-size: 16px; margin: 24px 0 8px; }
.doc p { margin: 0 0 14px; font-size: 16px; }
.doc ul, .doc ol { margin: 0 0 16px; padding-left: 24px; }
.doc li { margin-bottom: 8px; }
.doc li b { font-weight: 700; }
.doc a { color: var(--sky); text-decoration: underline; text-underline-offset: 2px; }
.doc .caps { text-transform: none; }
.doc .callout { background: rgba(212,75,39,0.08); border: 1px solid rgba(212,75,39,0.3); border-radius: 10px; padding: 14px 16px; margin: 0 0 18px; }
.doc .callout strong { color: var(--red); }
.doc .note { background: rgba(6,40,66,0.05); border-radius: 10px; padding: 14px 16px; margin: 0 0 18px; font-size: 15px; }

.footer { background: var(--navy); color: var(--cream); padding: 44px 40px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 40px; }
.footer__col { font-size: 12px; opacity: 0.6; line-height: 1.8; }
.footer__col a { color: inherit; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__links a { color: rgba(246,241,236,0.72); text-decoration: none; font-size: 13px; font-weight: 600; transition: color 0.2s; }
.footer__links a:hover, .footer__links a:focus-visible { color: var(--cream); }
.footer__links a[aria-current="page"] { color: var(--marigold); }

@media (max-width: 600px) {
  .top { padding: 16px 20px; }
  .doc { padding: 44px 20px 72px; }
  .doc__toc ol { columns: 1; }
  .footer { padding: 36px 20px; }
}
