/* Additional styles specific to the legal pages */
    div {
	  padding: 0;
	  margin: 0;
	}
	
	.tos-content {
      position: relative;
      z-index: 1;
    }
    
    .tos-section {
      margin-bottom: 40px;
    }
    
    .tos-section h2 {
      margin-bottom: 20px;
      color: var(--white);
      font-size: 1.8rem;
      font-weight: var(--fw-semibold);
      letter-spacing: -0.02em;
    }
    
    .tos-section h3 {
      margin: 25px 0 15px;
      color: var(--white);
      font-size: 1.4rem;
      font-weight: var(--fw-medium);
    }
    
    .tos-section p {
      margin-bottom: 15px;
      line-height: 1.6;
      color: #eaeaea;
      font-size: 15px;
    }
    
    .tos-section ul {
      margin: 15px 0;
      padding-left: 20px;
    }
    
    .last-updated {
      font-style: italic;
      color: var(--muted);
      margin-top: 40px;
      border-top: 1px solid rgba(255,255,255,0.06);
      padding: 20px 0;
      font-size: 14px;
    }
    
    .tos-hero {
      position: relative;
      padding: 0;
      overflow: hidden;
      min-height: 169px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    .page-title {
      text-align: center;
      margin-bottom: 20px;
      color: var(--white);
      font-weight: var(--fw-bold);
      font-size: clamp(28px, 6.5vw, 48px);
      letter-spacing: -0.02em;
    }
    
    .page-subtitle {
      text-align: center;
      color: var(--muted);
      max-width: 600px;
      margin: 0 auto 30px;
      line-height: 1.5;
      font-size: 18px;
    }
    
    .tos-content .container {
      max-width: 900px;
      margin: 0 auto;
    }
    
    .tos-section {
      background: rgba(12, 12, 12, 0.8);
      border: 1px solid rgba(255, 255, 255, 0.06);
      border-radius: var(--radius-lg);
      padding: 30px;
      margin-bottom: 30px;
      transition: all 0.3s var(--easing);
      box-shadow: var(--shadow-xs);
    }
    
    .tos-section:hover {
      transform: translateY(-2px);
      border-color: rgba(255, 56, 46, 0.3);
      box-shadow: var(--shadow-sm);
    }
	
	.grid-background {
	  inset: 0;
	  background-image: radial-gradient(rgba(255, 56, 46, 0.3) 1px, transparent 1px);
	  background-size: 30px 30px;
	  z-index: 1;
	}
	
	.divider {
	  padding: 0;
	  margin: 0 0 20px 0;
	}
	
/* ===================== Secret Translator===================== */

.secret-translator {
  display: flex;
  flex-wrap: wrap;
  align-items: center;       /* forces perfect vertical alignment */
  gap: 15px;
}

/* Normalize both input + output to same metrics */
.secret-input,
.secret-output {
  background: rgba(20, 20, 20, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);

  padding: 8px 12px;         /* identical vertical padding */
  line-height: 1.2;          /* normalize text height */
  font-size: 15px;
  font-family: inherit;      /* prevent font mismatch */
  color: #eaeaea;

  display: flex;             /* ensures consistent vertical centering */
  min-width: 250px;
  min-height: 36px;
  height: 120px;
  width: 45%;
  align-items: center;
  
  resize: vertical;
}

.secret-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
  resize: flex;
  overflow: hidden;
}

/* Output text never dips below baseline */
.secret-output {
  white-space: wrap;
}

/* Arrow always centered */
.secret-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #eaeaea;
  line-height: 1;
  margin: 0;
  padding: 0;
  opacity: 0.8;
  min-height: 36px;
}

/* Input focus glow */
.secret-input:focus {
  border-color: rgba(255, 56, 46, 0.6);
  box-shadow: 0 0 6px rgba(255, 56, 46, 0.35);
}

/* When the screen is too narrow, stack vertically */
@media (max-width: 650px) {
  .secret-translator {
    flex-direction: column;  /* vertical layout */
    align-items: stretch;    /* full width */
  }
  .secret-input,
  .secret-output,
  .secret-arrow {
    width: 100%;
  }

  .secret-input {
    margin-top: 0;           /* remove the upward shift on mobile */
  }
}