/* TicketsFest Legal Pages — v9.9.3 */
.tfe-legal-page {
  background:
    radial-gradient(circle at 12% 0%, rgba(37, 99, 235, .14), transparent 28%),
    radial-gradient(circle at 86% 8%, rgba(14, 165, 233, .14), transparent 30%),
    linear-gradient(180deg, #eef6ff 0%, #f8fbff 45%, #ffffff 100%);
}
.tfe-legal-page .tfe-container { max-width: 1240px; }
.tfe-legal-hero {
  padding: clamp(74px, 10vw, 126px) 0 clamp(46px, 6vw, 76px) !important;
  background:
    linear-gradient(135deg, rgba(9, 30, 66, .96), rgba(29, 78, 216, .88)),
    radial-gradient(circle at 82% 18%, rgba(125, 211, 252, .34), transparent 32%) !important;
  color: #fff !important;
  border-bottom: 0 !important;
  position: relative;
  overflow: hidden;
}
.tfe-legal-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 82%);
  pointer-events: none;
}
.tfe-legal-hero .tfe-container { position: relative; z-index: 1; }
.tfe-legal-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  padding: 9px 14px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: #dbeafe;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.tfe-legal-hero .tfe-h1,
.tfe-legal-hero h1 {
  max-width: 850px;
  margin: 0 0 18px !important;
  color: #fff !important;
  font-size: clamp(42px, 6.8vw, 82px) !important;
  line-height: .96 !important;
  letter-spacing: -.055em !important;
}
.tfe-legal-hero .tfe-sub {
  max-width: 760px;
  color: rgba(255,255,255,.84) !important;
  font-size: clamp(17px, 2vw, 21px) !important;
  font-weight: 550 !important;
}
.tfe-legal-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}
.tfe-legal-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: #eef6ff;
  font-size: 14px;
  font-weight: 750;
}
.tfe-legal-shell {
  display: grid;
  grid-template-columns: minmax(220px, 286px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  margin-top: clamp(34px, 5vw, 58px);
}
.tfe-legal-sidebar {
  position: sticky;
  top: 116px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(191, 219, 254, .9);
  border-radius: 28px;
  padding: 18px;
  box-shadow: 0 24px 60px -36px rgba(15, 23, 42, .38);
  backdrop-filter: blur(14px);
}
.tfe-legal-sidebar-title {
  display: block;
  margin: 0 0 10px;
  color: #0f172a;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.tfe-legal-sidebar a {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 8px 10px;
  border-radius: 14px;
  color: #334155;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none !important;
}
.tfe-legal-sidebar a:hover { background: #eff6ff; color: #1d4ed8; }
.tfe-legal-sidebar-note {
  margin-top: 16px;
  padding: 14px;
  border-radius: 18px;
  background: linear-gradient(135deg, #eff6ff, #ffffff);
  color: #475569;
  font-size: 13px;
  line-height: 1.55;
  border: 1px solid rgba(191, 219, 254, .85);
}
.tfe-legal-card.tfe-content-box {
  padding: clamp(26px, 4.2vw, 54px) !important;
  border-radius: 34px !important;
  border: 1px solid rgba(191,219,254,.8) !important;
  box-shadow: 0 28px 80px -45px rgba(15,23,42,.36) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,1), rgba(248,251,255,.98)) !important;
}
.tfe-legal-text {
  max-width: 820px;
  color: #334155 !important;
  font-size: 16.5px !important;
  line-height: 1.82 !important;
}
.tfe-legal-text > p:first-child {
  padding: 20px 22px;
  border: 1px solid rgba(191,219,254,.95);
  border-radius: 22px;
  background: #f8fbff;
  color: #1e293b;
  font-weight: 650;
}
.tfe-legal-text h2 {
  scroll-margin-top: 135px;
  margin: 44px 0 16px !important;
  padding-top: 4px;
  color: #0f172a !important;
  font-size: clamp(21px, 2.4vw, 27px) !important;
  line-height: 1.18 !important;
  letter-spacing: -.025em;
}
.tfe-legal-text h2::before {
  content: "";
  display: inline-block;
  width: 11px;
  height: 11px;
  margin-right: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #38bdf8);
  box-shadow: 0 0 0 6px rgba(37,99,235,.10);
  vertical-align: .08em;
}
.tfe-legal-text ul,
.tfe-legal-text ol { margin: 20px 0 30px !important; padding: 0 !important; }
.tfe-legal-text li {
  position: relative;
  margin: 0 0 12px !important;
  padding: 15px 16px 15px 48px !important;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 12px 26px -24px rgba(15,23,42,.34);
  list-style: none !important;
}
.tfe-legal-text li::before {
  left: 16px !important;
  top: 15px !important;
  width: 22px;
  height: 22px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #eff6ff;
  color: #2563eb !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  line-height: 22px !important;
}
.tfe-legal-text ul > li::before { content: "✓" !important; }
.tfe-legal-text ol { counter-reset: item; }
.tfe-legal-text ol > li::before { content: counter(item) !important; counter-increment: item; }
.tfe-legal-text strong { color: #0f172a !important; }
.tfe-company-info {
  margin-top: 48px !important;
  padding: 26px !important;
  border: 1px solid rgba(191,219,254,.9) !important;
  border-radius: 24px !important;
  background: linear-gradient(135deg, #eff6ff, #ffffff) !important;
  text-align: left !important;
}
.tfe-company-info h4 {
  margin: 0 0 10px !important;
  color: #0f172a !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  letter-spacing: -.01em;
}
.tfe-company-info p { color: #475569 !important; font-size: 15px !important; }
.tfe-legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.tfe-legal-actions .tfe-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none !important;
}
.tfe-legal-actions .tfe-btn-primary { background: #1d4ed8; color: #fff; box-shadow: 0 18px 38px -20px rgba(29,78,216,.7); }
.tfe-legal-actions .tfe-btn-secondary { background: #fff; color: #1d4ed8; border: 1px solid rgba(37,99,235,.22); }
.tfe-legal-page .tfe-sub-wrapper {
  margin-top: 48px !important;
  border-radius: 34px !important;
}
@media (max-width: 980px) {
  .tfe-legal-shell { grid-template-columns: 1fr; }
  .tfe-legal-sidebar { position: relative; top: auto; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
  .tfe-legal-sidebar-title,
  .tfe-legal-sidebar-note { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .tfe-legal-page .tfe-container { padding-left: 16px; padding-right: 16px; }
  .tfe-legal-hero { padding-top: 64px !important; }
  .tfe-legal-meta { gap: 8px; }
  .tfe-legal-pill { width: 100%; justify-content: center; }
  .tfe-legal-sidebar { grid-template-columns: 1fr; border-radius: 22px; }
  .tfe-legal-card.tfe-content-box { border-radius: 24px !important; padding: 22px !important; }
  .tfe-legal-text { font-size: 15.5px !important; line-height: 1.76 !important; }
  .tfe-legal-text li { padding-left: 44px !important; }
  .tfe-legal-actions .tfe-btn { width: 100%; }
}
