/* =========================================================
   FASHCOACH LEGAL PAGES
========================================================= */

.legal-page {
    --legal-purple: #8b5cf6;
    --legal-purple-dark: #6d28d9;
    --legal-background: #070910;
    --legal-surface: #10131f;
    --legal-text: #f7f7fb;
    --legal-muted: #aeb3c2;
    --legal-subtle: #777e91;
    --legal-border: rgba(255, 255, 255, 0.08);
  
    min-height: 100vh;
  
    background:
      radial-gradient(
        circle at top right,
        rgba(124, 58, 237, 0.12),
        transparent 32%
      ),
      var(--legal-background);
  
    color: var(--legal-text);
  }
  
  
  /* =========================================================
     HEADER
  ========================================================= */
  
  .legal-header {
    position: sticky;
    top: 0;
    z-index: 20;
  
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  
    padding: 18px 7%;
  
    border-bottom: 1px solid var(--legal-border);
  
    background: rgba(7, 9, 16, 0.92);
  
    backdrop-filter: blur(18px);
  }
  
  
  /* =========================================================
     BRAND
  ========================================================= */
  
  .legal-brand-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
  
    padding: 0;
  
    border: 0;
  
    background: transparent;
  
    color: var(--legal-text);
  
    font: inherit;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
  
    cursor: pointer;
  }
  
  .legal-brand-button .landing-brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
  
    width: 36px;
    height: 36px;
  
    border-radius: 10px;
  
    background:
      linear-gradient(
        135deg,
        var(--legal-purple),
        var(--legal-purple-dark)
      );
  
    color: #ffffff;
  
    font-size: 1rem;
    font-weight: 800;
    line-height: 1;
  
    box-shadow:
      0 8px 24px rgba(109, 40, 217, 0.24);
  }
  
  
  /* =========================================================
     HEADER ACTIONS
  ========================================================= */
  
  .legal-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  
  .legal-home-button {
    padding: 10px 16px;
  
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 9px;
  
    background: rgba(255, 255, 255, 0.04);
  
    color: #d7d9e2;
  
    font: inherit;
    font-size: 0.88rem;
  
    cursor: pointer;
  
    transition:
      border-color 0.2s ease,
      color 0.2s ease,
      background 0.2s ease;
  }
  
  .legal-home-button:hover {
    border-color: rgba(139, 92, 246, 0.55);
  
    background: rgba(139, 92, 246, 0.08);
  
    color: #ffffff;
  }
  
  
  /* =========================================================
     LEGAL SIGN-IN BUTTON
  ========================================================= */
  
  .legal-header .landing-primary-button {
    padding: 10px 18px;
  
    border: 1px solid transparent;
    border-radius: 9px;
  
    background:
      linear-gradient(
        135deg,
        var(--legal-purple),
        var(--legal-purple-dark)
      );
  
    color: #ffffff;
  
    font: inherit;
    font-size: 0.88rem;
    font-weight: 700;
  
    cursor: pointer;
  
    transition:
      transform 0.2s ease,
      opacity 0.2s ease;
  }
  
  .legal-header .landing-primary-button:hover {
    transform: translateY(-1px);
  
    opacity: 0.94;
  }
  
  
  /* =========================================================
     MAIN
  ========================================================= */
  
  .legal-main {
    width: min(1180px, 86%);
  
    margin: 0 auto;
    padding: 80px 0 100px;
  }
  
  
  /* =========================================================
     HERO
  ========================================================= */
  
  .legal-hero {
    max-width: 780px;
  
    padding-bottom: 55px;
  }
  
  .legal-hero .landing-eyebrow {
    color: var(--legal-purple);
  
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }
  
  .legal-hero h1 {
    margin: 15px 0 18px;
  
    color: var(--legal-text);
  
    font-size: clamp(2.5rem, 6vw, 4.8rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
  }
  
  .legal-description {
    max-width: 650px;
  
    margin: 0;
  
    color: var(--legal-muted);
  
    font-size: 1.05rem;
    line-height: 1.75;
  }
  
  .legal-updated {
    margin: 20px 0 0;
  
    color: var(--legal-subtle);
  
    font-size: 0.8rem;
  }
  
  
  /* =========================================================
     CONTENT LAYOUT
  ========================================================= */
  
  .legal-content {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 70px;
  
    align-items: start;
  }
  
  
  /* =========================================================
     LEGAL NAVIGATION
  ========================================================= */
  
  .legal-navigation {
    position: sticky;
    top: 105px;
  
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  
  .legal-navigation strong {
    margin-bottom: 10px;
  
    color: #ffffff;
  
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  
  .legal-navigation a {
    display: block;
  
    padding: 10px 12px;
  
    border: 1px solid transparent;
    border-radius: 8px;
  
    color: #9298a8;
  
    font-size: 0.86rem;
    text-decoration: none;
  
    transition:
      color 0.2s ease,
      border-color 0.2s ease,
      background 0.2s ease;
  }
  
  .legal-navigation a:hover {
    color: #ffffff;
  
    background: rgba(255, 255, 255, 0.035);
  }
  
  .legal-navigation a.active {
    border-color: rgba(139, 92, 246, 0.28);
  
    background: rgba(124, 58, 237, 0.1);
  
    color: #c4b5fd;
  }
  
  
  /* =========================================================
     DOCUMENT
  ========================================================= */
  
  .legal-document {
    min-width: 0;
  
    padding: 42px;
  
    border: 1px solid var(--legal-border);
    border-radius: 14px;
  
    background: rgba(16, 19, 31, 0.72);
  }
  
  .legal-document .landing-eyebrow {
    color: var(--legal-purple);
  
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }
  
  .legal-document h2 {
    margin: 14px 0 18px;
  
    color: #ffffff;
  
    font-size: 1.65rem;
    line-height: 1.2;
  }
  
  .legal-document h3 {
    margin: 38px 0 14px;
  
    color: #ffffff;
  
    font-size: 1.12rem;
  }
  
  .legal-document p,
  .legal-document li {
    color: #b4b9c7;
  
    font-size: 0.94rem;
    line-height: 1.8;
  }
  
  .legal-document p {
    margin: 0 0 18px;
  }
  
  .legal-document ul,
  .legal-document ol {
    margin: 0 0 22px;
    padding-left: 22px;
  }
  
  .legal-document li + li {
    margin-top: 8px;
  }
  
  .legal-document a {
    color: #c4b5fd;
  }
  
  .legal-placeholder {
    padding: 20px 0;
  }
  
  
  /* =========================================================
     FOOTER
  ========================================================= */
  
  .legal-footer {
    display: grid;
    grid-template-columns:
      minmax(200px, 1fr)
      auto
      minmax(200px, 1fr);
  
    align-items: center;
    gap: 35px;
  
    padding: 30px 7%;
  
    border-top: 1px solid var(--legal-border);
  
    background: var(--legal-background);
  }
  
  .legal-footer strong {
    color: #ffffff;
  
    font-size: 0.9rem;
  }
  
  .legal-footer p {
    margin: 5px 0 0;
  
    color: var(--legal-subtle);
  
    font-size: 0.78rem;
  }
  
  .legal-footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
  }
  
  .legal-footer-links button {
    padding: 0;
  
    border: 0;
  
    background: transparent;
  
    color: #9298a8;
  
    font: inherit;
    font-size: 0.8rem;
  
    cursor: pointer;
  }
  
  .legal-footer-links button:hover {
    color: #ffffff;
  }
  
  .legal-footer-credit {
    justify-self: end;
  }
  
  .legal-footer-credit a {
    color: #c4b5fd;
  
    font-weight: 600;
    text-decoration: none;
  }
  
  .legal-footer-credit a:hover {
    text-decoration: underline;
  }
  
  
  /* =========================================================
     RESPONSIVE
  ========================================================= */
  
  @media (max-width: 850px) {
  
    .legal-header {
      padding-right: 5%;
      padding-left: 5%;
    }
  
    .legal-main {
      width: 90%;
  
      padding-top: 60px;
    }
  
    .legal-content {
      grid-template-columns: 1fr;
      gap: 35px;
    }
  
    .legal-navigation {
      position: static;
  
      display: grid;
      grid-template-columns:
        repeat(2, minmax(0, 1fr));
    }
  
    .legal-navigation strong {
      grid-column: 1 / -1;
    }
  
    .legal-document {
      padding: 30px;
    }
  
    .legal-footer {
      grid-template-columns: 1fr;
  
      align-items: flex-start;
  
      padding-right: 5%;
      padding-left: 5%;
    }
  
    .legal-footer-links {
      justify-content: flex-start;
    }
  
    .legal-footer-credit {
      justify-self: start;
    }
  
  }
  
  
  @media (max-width: 550px) {
  
    .legal-header {
      gap: 15px;
    }
  
    .legal-header-actions .legal-home-button {
      display: none;
    }
  
    .legal-brand-button {
      gap: 9px;
  
      font-size: 0.95rem;
    }
  
    .legal-brand-button .landing-brand-mark {
      flex-basis: 32px;
  
      width: 32px;
      height: 32px;
  
      border-radius: 9px;
    }
  
    .legal-main {
      padding-top: 45px;
      padding-bottom: 70px;
    }
  
    .legal-hero {
      padding-bottom: 40px;
    }
  
    .legal-navigation {
      grid-template-columns: 1fr;
    }
  
    .legal-document {
      padding: 24px 20px;
    }
  
  }