/* ============================================
   Lift Heavy — Content page styles
   Shared by /privacy, /terms, /support and their ES counterparts.
   Pure vanilla CSS, no framework. Save as /css/content-page.css.
   ============================================ */

:root {
  --bg: #F2F2F7;
  --bg-alt: #FFFFFF;
  --bg-deep: #E8E8ED;
  --ink: #0B0B0F;
  --ink-2: #1C1C1E;
  --mute: #6B6B70;
  --mute-2: #8E8E93;
  --hair: #D9D9DE;
  --blue: #0A84FF;
  --blue-hover: #0070D8;
  --neon: #7CFFA8;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
          "Helvetica Neue", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.55;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.content { flex: 1 0 auto; }
a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
a:hover { color: var(--blue-hover); }


/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 64px;
  background: rgba(242, 242, 247, 0.85);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hair);
}
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-tile {
  width: 28px; height: 28px; border-radius: 7px;
  background: #000; color: var(--neon);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 9px; letter-spacing: 0.04em;
}
.nav-name {
  font-size: 17px; font-weight: 600;
  color: var(--ink); letter-spacing: -0.01em;
}
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  color: var(--mute); text-decoration: none;
  font-size: 15px; font-weight: 500; letter-spacing: -0.005em;
  transition: color 150ms ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  background: var(--ink); color: #fff;
  padding: 8px 16px; border-radius: 980px;
  font-size: 14px; font-weight: 500; text-decoration: none;
  transition: background 150ms ease;
}
.nav-cta:hover { background: var(--ink-2); color: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column; justify-content: space-between;
  width: 24px; height: 18px;
  background: none; border: none; cursor: pointer; padding: 0;
}
.nav-toggle span {
  display: block; width: 100%; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform 200ms ease, opacity 200ms ease;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }


/* ---------- Page hero (used on content pages) ---------- */
.page-hero {
  padding: 96px 64px 56px;
  border-bottom: 1px solid var(--hair);
  background: var(--bg);
}
.page-hero-inner { max-width: 1100px; margin: 0 auto; }
.kicker {
  font-family: var(--mono);
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--blue); font-weight: 500;
  margin: 0 0 24px;
}
.page-title {
  font-size: 64px; line-height: 1; letter-spacing: -0.035em;
  font-weight: 700; color: var(--ink);
  margin: 0 0 24px;
  max-width: 820px;
  text-wrap: pretty;
}
.page-lede {
  font-size: 21px; line-height: 1.45; color: var(--mute);
  max-width: 660px; margin: 0;
  letter-spacing: -0.005em;
  text-wrap: pretty;
}


/* ---------- Body / article ---------- */
.content {
  padding: 72px 64px 120px;
  background: var(--bg);
}
.content-inner {
  max-width: 720px; margin: 0 auto;
  font-size: 17px; line-height: 1.65;
  color: var(--ink-2);
}
.content-inner h2 {
  font-size: 28px; font-weight: 600; letter-spacing: -0.02em;
  color: var(--ink);
  margin: 48px 0 16px;
}
.content-inner h2:first-of-type { margin-top: 0; }
.content-inner h3 {
  font-size: 20px; font-weight: 600; letter-spacing: -0.015em;
  color: var(--ink);
  margin: 32px 0 12px;
}
.content-inner p { margin: 0 0 18px; }
.content-inner ul, .content-inner ol { margin: 0 0 18px; padding-left: 24px; }
.content-inner li { margin-bottom: 6px; }
.content-inner strong { color: var(--ink); font-weight: 600; }
.content-inner em { font-style: italic; }
.content-inner hr {
  border: none; border-top: 1px solid var(--hair); margin: 48px 0;
}
.updated {
  font-family: var(--mono); font-size: 12px;
  color: var(--mute); letter-spacing: 0.05em;
  margin-bottom: 32px;
  text-transform: uppercase;
}


/* ---------- FAQ accordion (support page) ---------- */
.faq { margin: 24px 0 0; }
.faq-item {
  border-top: 1px solid var(--hair);
  padding: 24px 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--hair); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-size: 18px; font-weight: 600; color: var(--ink);
  letter-spacing: -0.015em;
  display: flex; justify-content: space-between; align-items: center;
  padding: 4px 0;
  outline: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '';
  width: 10px; height: 10px;
  border-right: 1.5px solid var(--mute);
  border-bottom: 1.5px solid var(--mute);
  transform: rotate(45deg);
  transition: transform 200ms ease;
  flex-shrink: 0;
  margin-right: 6px;
  margin-left: 16px;
}
.faq-item[open] summary::after { transform: rotate(-135deg); margin-bottom: -4px; }
.faq-item p {
  margin: 14px 0 0;
  font-size: 16px; color: var(--mute);
  line-height: 1.6;
}


/* ---------- Contact card (bottom of each page) ---------- */
.contact-card {
  background: var(--bg-alt);
  border: 1px solid var(--hair);
  border-radius: 20px;
  padding: 32px 36px;
  margin-top: 24px;
}
.contact-card h2 { margin: 0 0 12px; font-size: 24px; }
.contact-card p { margin: 0; color: var(--mute); }


/* ---------- Footer ---------- */
.footer {
  padding: 64px 64px 40px;
  background: var(--bg-alt);
  border-top: 1px solid var(--hair);
}
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-tile {
  width: 32px; height: 32px; border-radius: 8px;
  background: #000; color: var(--neon);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 10px;
}
.footer-name { font-size: 17px; font-weight: 600; color: var(--ink); }
.footer-tag {
  font-size: 14px; color: var(--mute);
  max-width: 320px; line-height: 1.5; margin: 0;
}
.footer-col h4 {
  font-size: 13px; font-weight: 600; color: var(--ink);
  margin: 0 0 16px;
}
.footer-col a {
  display: block;
  font-size: 14px; color: var(--mute);
  text-decoration: none; margin-bottom: 10px;
  transition: color 150ms ease;
}
.footer-col a:hover { color: var(--ink); }
.footer-meta {
  display: flex; justify-content: space-between;
  padding-top: 24px; border-top: 1px solid var(--hair);
  font-size: 13px; color: var(--mute-2);
}
.lang-switcher a {
  color: var(--blue); margin-left: 4px;
  text-decoration: none;
}
.lang-switcher a:hover { text-decoration: underline; }


/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .page-title { font-size: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .nav, .page-hero, .content, .footer {
    padding-left: 24px; padding-right: 24px;
  }
  .nav { position: relative; }
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 16px;
    padding: 20px 24px;
    background: rgba(242, 242, 247, 0.96);
    -webkit-backdrop-filter: blur(12px);
            backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--hair);
  }
  .nav-links.active { display: flex; }
  .nav-toggle { display: flex; }
  .nav-cta { font-size: 13px; padding: 7px 14px; }

  .page-hero { padding-top: 56px; padding-bottom: 32px; }
  .page-title { font-size: 36px; }
  .page-lede { font-size: 17px; }

  .content { padding-top: 48px; padding-bottom: 64px; }
  .content-inner { font-size: 16px; }
  .content-inner h2 { font-size: 24px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-meta { flex-direction: column; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
