/* The FusiMedia palette. These pages — Help, Terms, Privacy — used to carry
   a cream-and-brown set of their own (--bg #f2ead8, --text #1c1510, --accent
   #3a2518) while every other page on the site was dark with the orange
   accent, so they read as a different company's pages.

   Values are copied from artifacts/index.html and shop/index.html, which are
   the canonical set. Only the tokens changed: every rule below already paints
   from them, so layout, spacing and content are untouched. */
:root {
  color-scheme: dark;
  --bg:        #050607;
  --surface:   #10161C;
  --surface2:  #161E26;
  --surface3:  #0D1117;
  --border:    #2A323C;
  --border2:   rgba(168,176,186,0.24);
  --text:      #F3F0EA;
  --muted:     #A8B0BA;
  --subtle:    #6F7A86;
  --accent:    #FF6A2A;
  --accent2:   #FF7A1A;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', system-ui, sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
}

.legal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.legal-brand {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.5px;
  color: var(--text);
  text-decoration: none;
}

.legal-brand span {
  font-style: normal;
  font-weight: 500;
  color: var(--accent);
}

.legal-back {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
}

.legal-back:hover { color: var(--accent); }

.legal-main {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

.legal-main h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(32px, 6vw, 44px);
  font-weight: 500;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
  color: var(--text);
}

.legal-effective {
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.3px;
  margin-bottom: 28px;
}

.legal-intro {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 24px;
}

.legal-main h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 24px;
  font-weight: 600;
  margin: 36px 0 12px;
  /* Cream, not the accent: on the rest of the site a section heading is
     cream and only links and icons carry the orange. */
  color: var(--text);
}

.legal-main h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 19px;
  font-weight: 600;
  margin: 24px 0 10px;
  color: var(--text);
}

.legal-main p,
.legal-main li {
  font-size: 16px;
  color: var(--text);
  margin-bottom: 12px;
}

.legal-main ul {
  padding-left: 22px;
  margin-bottom: 12px;
}

.legal-main a {
  color: var(--accent2);
  text-decoration: underline;
}

.legal-main a:hover { color: var(--accent); }

.legal-back-bottom {
  display: inline-block;
  margin-top: 24px;
  font-weight: 600;
}

footer.legal-footer {
  position: relative;
  text-align: center;
  padding: 32px 24px;
  border-top: 1px solid var(--border);
  font-size: 11px;
  font-family: 'DM Mono', monospace;
  color: var(--subtle);
  letter-spacing: 0.3px;
}

.footer-info-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 14px;
  margin-bottom: 12px;
}

.footer-info-links a {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0;
}

.footer-info-links a:hover { color: var(--accent); }

.footer-copy { margin: 0; }

@media (max-width: 480px) {
  .legal-main { padding: 32px 16px 48px; }
  .legal-main h2 { font-size: 21px; }
  .legal-nav { padding: 16px 20px; }
}

/* Footer "Follow FusiMedia" icons (Instagram, TikTok, Facebook).
   Uses each page's own --muted / --accent / --border tokens.
   44px tap targets for phones. */
.social-follow { margin: 4px auto 18px; text-align: center; }
.social-follow-label {
  margin: 0 0 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12.5px;
  letter-spacing: 0;
  color: var(--muted);
}
.social-follow-list {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.social-follow-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--muted);
  text-decoration: none;
  transition: color 160ms, border-color 160ms;
}
.social-follow-link:hover,
.social-follow-link:focus-visible { color: var(--accent); border-color: var(--accent); }
.social-follow-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
