/* Terms and Privacy pages: same look as the homepage (white with purple accents) */
:root { --lp: #591E75; --lp-hover: #6f2a90; --l-ink: #1c1722; --l-soft: #5d5666; --l-line: #e8e4ec; --l-tint: #f8f5fa; }
body.legal { background: #fff; color: var(--l-ink); font-family: 'DM Sans', sans-serif; }
.legal .grain { display: none; }
.legal nav { height: 104px; background: #fff; box-shadow: 0 1px 0 var(--l-line); }
.legal .nav-btn { background: var(--lp); padding: 18px 38px; font-size: 15px; letter-spacing: .06em; border-radius: 2px; }
.legal .nav-btn:hover { background: var(--lp-hover); }
.legal main { background: #fff; min-height: 100vh; padding-top: 104px; }

.legal .terms-wrap { max-width: 800px; margin: 0 auto; padding: 56px 24px 88px; }
.legal .back-link {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 36px;
  font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--lp); text-decoration: none;
}
.legal .back-link:hover { color: var(--lp-hover); text-decoration: underline; text-underline-offset: 4px; }
.legal .terms-wrap h1 { font-family: 'DM Sans', sans-serif; font-weight: 400; font-size: clamp(34px, 5vw, 54px); line-height: 1.05; letter-spacing: -.03em; color: var(--l-ink); margin-bottom: 14px; }
.legal .terms-company { font-size: 16px; color: var(--lp); margin-bottom: 48px; }

.legal .terms-section { margin-bottom: 44px; }
.legal .terms-section h2 {
  font-family: 'DM Sans', sans-serif; font-weight: 500; font-size: clamp(20px, 2.4vw, 24px); letter-spacing: -.01em; color: var(--l-ink);
  padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid var(--l-line);
}
.legal .terms-sub { font-family: 'DM Sans', sans-serif; font-weight: 500; font-size: 16px; color: var(--lp); margin: 24px 0 8px; opacity: 1; }
.legal .terms-intro { font-size: 16px; line-height: 1.75; font-weight: 400; color: var(--l-soft); opacity: 1; margin: 0 0 12px; }
.legal .terms-intro a, .legal .terms-contact a { color: var(--lp); text-decoration: underline; text-underline-offset: 3px; }
.legal .terms-intro a:hover, .legal .terms-contact a:hover { color: var(--lp-hover); }

.legal .terms-items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.legal .terms-items li { position: relative; padding: 0 0 0 22px; border: 0; font-size: 16px; line-height: 1.7; font-weight: 400; color: var(--l-soft); opacity: 1; }
.legal .terms-items li::before { content: ''; position: absolute; left: 2px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--lp); }

.legal .terms-contact { margin-top: 56px; padding: 28px 30px 30px; background: var(--l-tint); border: 1px solid var(--l-line); border-radius: 8px; }
.legal .terms-contact h3 { font-family: 'DM Sans', sans-serif; font-weight: 500; font-size: 20px; color: var(--l-ink); margin-bottom: 12px; }
.legal .terms-contact p { font-size: 16px; line-height: 1.7; font-weight: 400; color: var(--l-soft); opacity: 1; }
.legal .terms-contact p + p { margin-top: 12px; }

.legal footer { background: #fff; border-top: 1px solid var(--l-line); }
.legal .f-copy, .legal .f-terms { color: var(--l-soft); }
.legal .f-terms:hover { color: var(--lp); }

@media (max-width: 900px) {
  .legal nav { height: 84px; }
  .legal main { padding-top: 84px; }
  .legal .nav-btn { padding: 14px 24px; font-size: 13px; }
  .legal .terms-wrap { padding: 36px 20px 64px; }
  .legal .terms-contact { padding: 22px 20px 24px; }
}

.nav-wordmark { font-family: 'DM Sans', sans-serif; font-size: 38px; font-weight: 700; letter-spacing: .14em; line-height: 1; color: #591E75; text-decoration: none; }
.nav-wordmark:hover { color: #591E75; }
@media (max-width: 900px) { .nav-wordmark { font-size: 26px; letter-spacing: .12em; } }
@media (max-width: 380px) { .nav-wordmark { font-size: 22px; } }

/* Bullet lists that follow an intro sentence (Sections 4 and 8) use the same style as the other lists */
.legal .terms-bullets { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.legal .terms-bullets li { position: relative; padding: 0 0 0 22px; border: 0; font-size: 16px; line-height: 1.7; font-weight: 400; color: var(--l-soft); opacity: 1; }
.legal .terms-bullets li::before { content: ''; position: absolute; left: 2px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--lp); }
.legal .terms-intro + .terms-bullets { margin-top: 4px; }

@media (min-width: 1100px) { html { zoom: 0.8; } }
@media (min-width: 1100px) { .legal main { min-height: calc(100vh / 0.8); } }
