.ampd-terms { background: #0a0a0a; color: #fff; }
.ampd-terms-wrap { max-width: 940px; margin: 0 auto; }
.ampd-terms-hero { padding: 68px max(44px, min(calc(50vw - 675px), 6vw)) 56px; }
.ampd-terms-eyebrow { color: #CD1D12; font-size: 12px; font-weight: 600; letter-spacing: 2.4px; margin: 0 0 22px; }
.ampd-terms h1 { font-family: 'Anton', sans-serif; font-size: clamp(48px, 7vw, 88px); font-weight: 400; line-height: 1.06; letter-spacing: .6px; margin: 0; }
.ampd-terms-subtitle { color: #d2d2d2; font-size: clamp(16px, 1.5vw, 20px); line-height: 1.5; font-weight: 500; letter-spacing: .8px; margin: 22px 0 12px; }
.ampd-terms-version { font-size: 14px; color: #aaa; line-height: 1.7; margin: 0; }
.ampd-terms-version > span { padding: 0 8px; }
.ampd-terms-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 30px; }
.ampd-terms-download { display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; padding: 16px 22px; background: #CD1D12; color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .7px; text-transform: uppercase; line-height: 1.5; min-height: 48px; }
.ampd-terms-download:hover { background: #b51a10; color: #fff; }
.ampd-terms-filetype { font-size: 11px; font-weight: 400; letter-spacing: .2px; text-transform: none; border-left: 1px solid rgba(255,255,255,.5); padding-left: 12px; }
.ampd-terms-view, .ampd-terms-back { color: #e1e1e1; font-size: 13px; letter-spacing: .4px; line-height: 1.5; padding: 10px 0; border-bottom: 1px solid #666; }
.ampd-terms a:focus-visible { outline: 2px solid #ff655b; outline-offset: 5px; }
.ampd-terms-paper-area { padding: 0 max(44px, min(calc(50vw - 675px), 6vw)) 82px; }
.ampd-terms-content { max-width: 940px; margin: 0 auto; padding: 48px 54px 54px; background: #f8f8f6; color: #262626; border: 1px solid #e4e4e0; border-top: 3px solid #CD1D12; border-radius: 8px; font-size: 17px; line-height: 1.78; overflow-wrap: break-word; }
.ampd-terms-content h2 { font-family: 'Anton', sans-serif; color: #b51a10; font-size: clamp(23px, 2.1vw, 29px); font-weight: 400; line-height: 1.25; letter-spacing: .3px; margin: 36px 0 16px; scroll-margin-top: 125px; }
.ampd-terms-content p { margin: 0 0 18px; }
.ampd-terms-content p:last-child { margin-bottom: 0; }
.ampd-terms-content strong { font-weight: 700; }
.ampd-terms-important { padding: 20px 22px; background: #eeece8; border-left: 3px solid #CD1D12; font-size: 15px; line-height: 1.75; }
.ampd-terms-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 22px; padding-top: 30px; }
#membership-terms-top { scroll-margin-top: 112px; }
@media (max-width: 1024px) {
  .ampd-terms-hero { padding: 50px 28px 42px; }
  .ampd-terms-paper-area { padding: 0 28px 64px; }
  .ampd-terms-content { padding: 36px 32px 40px; }
}
@media (max-width: 640px) {
  .ampd-terms-hero { padding: 40px 20px 34px; }
  .ampd-terms-paper-area { padding: 0 20px 50px; }
  .ampd-terms-content { padding: 26px 20px 30px; font-size: 16px; line-height: 1.8; }
  .ampd-terms h1 { font-size: clamp(42px, 11vw, 60px); }
  .ampd-terms-actions { gap: 18px; }
  .ampd-terms-version > span { padding: 0 4px; }
  .ampd-terms-download { padding: 14px 16px; gap: 10px; font-size: 12px; }
  .ampd-terms-important { padding: 16px; font-size: 14px; }
}
