/*
  BIG ZAYN — legal.css
  Shared styling for legal/info pages (Returns, Shipping, Terms, Privacy).
  Built on top of the design tokens and fixed topbar/topnav defined in style.css
  (--green, --cream, --red, --font-display: BruceForever, --font-body: Lato).
*/

/* =============================================
   PAGE LAYOUT
   ============================================= */
.legal-page {
  max-width: 860px;
  margin: 0 auto;
  /* top padding clears the fixed .topbar + .topnav from style.css */
  padding: 148px 48px 80px;
}

/* =============================================
   HEADER
   ============================================= */
.legal-header {
  margin-bottom: 64px;
}

.legal-header__label {
  display: block;
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--red);
  font-weight: 300;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.legal-header__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 6vw, 64px);
  letter-spacing: 0.05em;
  color: var(--cream);
  font-weight: normal;
  line-height: 1.05;
  margin-bottom: 20px;
}

.legal-header__line {
  width: 100%;
  height: 1px;
  background: rgba(218, 211, 190, 0.12);
  margin-bottom: 16px;
}

.legal-header__sub {
  font-family: var(--font-body);
  font-size: 9px;
  letter-spacing: 0.28em;
  color: rgba(218, 211, 190, 0.25);
  font-weight: 300;
}

/* =============================================
   SECTIONS
   ============================================= */
.legal-list {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}

.legal-section {
  display: flex;
  gap: 32px;
  padding: 36px 0;
  border-bottom: 1px solid rgba(218, 211, 190, 0.1);
}
.legal-section:first-child { padding-top: 0; }
.legal-section:last-child { border-bottom: none; }

.legal-section__num {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--red);
  flex-shrink: 0;
  width: 32px;
  padding-top: 4px;
}

.legal-section__body { flex: 1; min-width: 0; }

.legal-section__heading {
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: 0.07em;
  color: var(--cream);
  font-weight: normal;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.legal-section__body p {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.85;
  color: rgba(218, 211, 190, 0.75);
  font-weight: 300;
  letter-spacing: 0.01em;
  margin-bottom: 14px;
}
.legal-section__body p:last-child { margin-bottom: 0; }

.legal-section__body ul {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legal-section__body ul li {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.8;
  color: rgba(218, 211, 190, 0.75);
  font-weight: 300;
  padding-left: 18px;
  position: relative;
}
.legal-section__body ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--red);
  font-size: 11px;
  opacity: 0.65;
}

.legal-section__body a {
  color: var(--cream);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-section__body strong {
  color: var(--cream);
  font-weight: 700;
}

.red { color: var(--red); font-weight: 700; }

/* =============================================
   RETURN STEPS (returns.html)
   ============================================= */
.return-steps {
  display: flex;
  flex-direction: column;
  margin: 8px 0 14px;
  counter-reset: step-counter;
}
.return-step {
  display: flex;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(218, 211, 190, 0.06);
  counter-increment: step-counter;
}
.return-step:last-child { border-bottom: none; }
.return-step__num {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--red);
  flex-shrink: 0;
  width: 22px;
  padding-top: 2px;
}
.return-step__num::before { content: "0" counter(step-counter); }
.return-step__text {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.8;
  color: rgba(218, 211, 190, 0.75);
  font-weight: 300;
}
.return-step__text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--cream);
  font-weight: normal;
  margin-bottom: 6px;
  text-transform: uppercase;
}

/* =============================================
   POLICY NOTE / ALERT BOX
   ============================================= */
.policy-note {
  border: 1px solid rgba(235, 51, 9, 0.3);
  padding: 20px 24px;
  margin: 8px 0 14px;
}
.policy-note__label {
  display: block;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--red);
  font-weight: normal;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.policy-note p {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.8;
  color: rgba(218, 211, 190, 0.7);
  font-weight: 300;
  margin: 0;
}

/* =============================================
   SHIPPING TABLE (shipping.html)
   ============================================= */
.shipping-table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 14px;
}
.shipping-table th {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--red);
  font-weight: normal;
  text-align: left;
  padding: 0 0 12px;
  border-bottom: 1px solid rgba(218, 211, 190, 0.12);
  text-transform: uppercase;
}
.shipping-table td {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.8;
  color: rgba(218, 211, 190, 0.75);
  font-weight: 300;
  padding: 14px 0;
  border-bottom: 1px solid rgba(218, 211, 190, 0.07);
  vertical-align: top;
}
.shipping-table tr:last-child td { border-bottom: none; }
.shipping-table td:first-child { padding-right: 24px; color: var(--cream); font-weight: 400; }

.info-pill {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(218, 211, 190, 0.6);
  border: 1px solid rgba(218, 211, 190, 0.15);
  padding: 6px 12px;
  margin-top: 16px;
  text-transform: uppercase;
}

/* =============================================
   FOOTER (shared across legal pages)
   ============================================= */
.site-footer {
  max-width: 900px;
  margin: 0 auto;
  padding: 56px 48px 48px;
}
.site-footer__line {
  height: 1px;
  background: rgba(218, 211, 190, 0.12);
  margin-bottom: 36px;
}
.site-footer__inner { display: flex; align-items: center; gap: 40px; }
.site-footer__brand-col { flex: 0 0 auto; display: flex; flex-direction: column; gap: 10px; }
.site-footer__brand {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.1em;
  color: var(--cream);
  font-weight: normal;
}
.site-footer__copy {
  font-family: var(--font-body);
  font-size: 9px;
  letter-spacing: 0.24em;
  color: rgba(218, 211, 190, 0.3);
  font-weight: 300;
  margin: 0;
}
.site-footer__legal {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  min-width: 0;
}
.site-footer__legal a {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: rgba(218, 211, 190, 0.5);
  font-weight: 300;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}
.site-footer__legal a:hover { color: var(--cream); }
.legal-group { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.site-footer__dot { font-size: 9px; color: var(--red); font-weight: 300; opacity: 0.6; }
.site-footer__socials { flex: 0 0 auto; display: flex; align-items: center; gap: 20px; }
.site-footer__socials .social-btn {
  color: rgba(218, 211, 190, 0.45);
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.site-footer__socials .social-btn:hover { color: var(--cream); }

/* =============================================
   MOBILE
   ============================================= */
@media (max-width: 768px) {
  .legal-page { padding: 120px 20px 60px; }
  .legal-header { margin-bottom: 40px; }
  .legal-section { gap: 18px; padding: 28px 0; }
  .legal-section__num { width: 24px; }
  .shipping-table th, .shipping-table td { font-size: 12px; }

  .site-footer { padding: 40px 20px 40px; }
  .site-footer__inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .site-footer__legal { flex-direction: column; align-items: flex-start; justify-content: flex-start; width: 100%; gap: 14px; }
  .legal-group { flex-direction: column; align-items: flex-start; gap: 14px; }
  .site-footer__dot { display: none; }
  .site-footer__socials { align-self: flex-start; }
}
