@tailwind base;
@tailwind components;
@tailwind utilities;
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

.profile-avatar {
  width: 8rem;
  height: 8rem;
  border-radius: 9999px;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.profile-avatar-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: #475569;
  color: #fff;
  font-size: 1.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (min-width: 640px) {
  .profile-avatar {
    width: 9rem;
    height: 9rem;
  }
}

.legal-page {
  position: relative;
  isolation: isolate;
  padding: 1rem 0;
}

.legal-page__backdrop {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: -20;
  height: 20rem;
  background: linear-gradient(135deg, #fef3c7 0%, #fff1f2 48%, #e0f2fe 100%);
}

.legal-page__mesh {
  position: absolute;
  inset: 0;
  z-index: -10;
  background:
    radial-gradient(circle at top left, rgba(15, 23, 42, 0.08), transparent 30%),
    radial-gradient(circle at top right, rgba(251, 191, 36, 0.14), transparent 28%),
    radial-gradient(circle at bottom, rgba(14, 165, 233, 0.12), transparent 30%);
}

.legal-page__layout {
  margin: 0 auto;
  max-width: 72rem;
}

.legal-frame {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 30px 90px -40px rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(8px);
}

.legal-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  background: linear-gradient(135deg, #ffffff 0%, #ffffff 55%, rgba(254, 243, 199, 0.7) 100%);
  padding: 2rem 1.5rem;
}

.legal-hero__glow {
  position: absolute;
  right: 0;
  top: 0;
  height: 10rem;
  width: 10rem;
  border-radius: 9999px;
  background: rgba(253, 230, 138, 0.4);
  filter: blur(48px);
}

.legal-eyebrow {
  display: inline-flex;
  align-items: center;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.25rem 0.75rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.legal-title {
  margin-top: 1.25rem;
  max-width: 48rem;
  color: #020617;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.legal-description {
  margin-top: 1rem;
  max-width: 42rem;
  color: #475569;
  font-size: 1rem;
  line-height: 1.75;
}

.legal-body {
  padding: 1rem;
}

.legal-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.legal-content > section {
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 1.5rem;
  background: linear-gradient(180deg, #ffffff 0%, rgba(248, 250, 252, 0.8) 100%);
  box-shadow: 0 8px 24px -20px rgba(15, 23, 42, 0.28);
  padding: 1.5rem;
}

.legal-content > section > * + * {
  margin-top: 1rem;
}

.legal-content h2 {
  color: #020617;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.legal-content p,
.legal-content li,
.legal-content dt,
.legal-content dd {
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.75;
}

.legal-content ol,
.legal-content ul {
  padding-left: 1.25rem;
}

.legal-content ol {
  list-style: decimal;
}

.legal-content ul {
  list-style: disc;
}

.legal-content li + li {
  margin-top: 0.5rem;
}

.legal-content li > ul,
.legal-content li > ol {
  margin-top: 0.75rem;
}

.legal-content a {
  color: #075985;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: #bae6fd;
  text-underline-offset: 0.25rem;
  transition: color 150ms ease, text-decoration-color 150ms ease;
}

.legal-content a:hover {
  color: #082f49;
  text-decoration-color: #38bdf8;
}

.legal-content strong,
.legal-content b {
  color: #020617;
  font-weight: 600;
}

.legal-sidecard {
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 1.75rem;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 24px 60px -35px rgba(15, 23, 42, 0.35);
  padding: 1.5rem;
  backdrop-filter: blur(8px);
}

@media (min-width: 640px) {
  .legal-page {
    padding: 1.5rem 0;
  }

  .legal-hero {
    padding: 2.5rem;
  }

  .legal-title {
    font-size: 2.5rem;
  }

  .legal-body {
    padding: 1.5rem;
  }

  .legal-content > section {
    padding: 1.75rem;
  }
}
