.content-page-body {
  position: relative;
  min-height: 100svh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 8% 18%, rgba(222, 60, 5, .13), transparent 25%),
    radial-gradient(circle at 93% 72%, rgba(132, 28, 0, .1), transparent 30%),
    #100503;
  color: #fff8f4;
}

.inner-site-header {
  position: relative;
  z-index: 2;
  isolation: isolate;
  min-height: 248px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 120%, rgba(222, 60, 5, .24), transparent 38%),
    rgba(16, 5, 3, .35);
  transition:
    opacity var(--motion-exit) ease,
    transform var(--motion-exit) var(--motion-ease);
}
.inner-site-header::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgba(222, 60, 5, .026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(222, 60, 5, .026) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(#000, transparent 90%);
}
.inner-site-header-shade {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at center, transparent 8%, rgba(7, 1, 0, .42) 100%);
}
.inner-site-nav {
  position: relative;
  z-index: 2;
  width: min(1100px, calc(100% - 48px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
  padding-top: 24px;
  transform-origin: top center;
}
.inner-site-brand,
.inner-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}
.inner-site-brand { color: #fff; font-size: 19px; font-weight: 790; letter-spacing: -.035em; }
.inner-site-brand img {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  object-fit: cover;
  box-shadow: 0 0 0 6px rgba(222, 60, 5, .07), 0 12px 30px rgba(0, 0, 0, .36);
}
.inner-site-links { display: flex; align-items: center; gap: 9px; }
.inner-site-links a {
  padding: 9px 12px;
  border-radius: 999px;
  color: #c8aea5;
  font-size: 11px;
  font-weight: 690;
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.inner-site-links a:hover,
.inner-site-links a:focus-visible {
  background: rgba(222, 60, 5, .12);
  color: #fff;
  outline: none;
}
.inner-site-intro {
  position: relative;
  z-index: 1;
  width: min(1100px, calc(100% - 48px));
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 72px auto 0;
  color: #d99a82;
  font-size: 10px;
  font-weight: 780;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.inner-site-intro i {
  width: 72px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 105, 46, .6), transparent);
}

.legal-shell,
.content-shell {
  position: relative;
  z-index: 3;
  width: min(980px, calc(100% - 36px));
  margin: -62px auto 0;
  padding: 0 0 82px;
}
.content-shell { width: min(900px, calc(100% - 36px)); }

.legal-back {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 15px 22px;
  color: #e3c3b7;
  text-decoration: none;
  font-size: 11px;
  font-weight: 690;
  letter-spacing: .02em;
  transition: color .18s ease;
}
.legal-back:hover,
.legal-back:focus-visible { color: #fff; outline: none; }

.legal-hero,
.content-hero {
  position: relative;
  overflow: hidden;
  padding: 38px 40px;
  border: 1px solid rgba(255, 102, 43, .28);
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0, rgba(222, 60, 5, .19), transparent 38%),
    linear-gradient(145deg, rgba(38, 14, 8, .98), rgba(21, 7, 4, .98));
  box-shadow: inset 0 1px rgba(255, 255, 255, .025), 0 25px 70px rgba(0, 0, 0, .32);
  transform-origin: 50% 18%;
}
.legal-hero::before,
.content-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 38px;
  width: 64px;
  height: 3px;
  border-radius: 0 0 5px 5px;
  background: linear-gradient(90deg, #ff7138, var(--brand));
  box-shadow: 0 5px 20px rgba(222, 60, 5, .28);
}
.legal-eyebrow {
  color: var(--brand);
  font-size: 10px;
  font-weight: 820;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.legal-hero h1,
.content-hero h1 {
  max-width: 760px;
  margin: 12px 0 10px;
  color: #fff8f4;
  font-size: clamp(34px, 5vw, 51px);
  line-height: 1.04;
  font-weight: 810;
  letter-spacing: -.05em;
  text-wrap: balance;
}
.content-hero h1 { margin-top: 0; }
.legal-summary,
.content-hero p {
  max-width: 720px;
  margin: 0;
  color: #c2aaa1;
  font-size: 15px;
  line-height: 1.72;
}
.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}
.legal-meta span {
  padding: 7px 10px;
  border: 1px solid rgba(255, 112, 51, .17);
  border-radius: 999px;
  background: rgba(255, 255, 255, .035);
  color: #ad9187;
  font-size: 10px;
  font-weight: 650;
}

.legal-content,
.content-grid {
  display: grid;
  gap: 13px;
  margin-top: 18px;
}
.legal-section,
.content-card {
  position: relative;
  padding: 27px 30px;
  border: 1px solid rgba(255, 107, 47, .14);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(30, 10, 6, .94), rgba(19, 6, 3, .96));
  box-shadow: inset 0 1px rgba(255, 255, 255, .018), 0 12px 34px rgba(0, 0, 0, .18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
  content-visibility: auto;
  contain-intrinsic-size: auto 180px;
}
.legal-section:hover,
.content-card:hover {
  border-color: rgba(255, 103, 43, .34);
  box-shadow: inset 0 1px rgba(255, 255, 255, .028), 0 18px 42px rgba(0, 0, 0, .27);
  transform: translateY(-1px);
}
.legal-section h2,
.content-card h2 {
  margin: 0 0 11px;
  color: #fff5f0;
  font-size: 18px;
  font-weight: 760;
  letter-spacing: -.025em;
}
.legal-section h2::before,
.content-card h2::before {
  content: "";
  width: 6px;
  height: 6px;
  display: inline-block;
  margin: 0 10px 2px 0;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(222, 60, 5, .08);
}
.legal-section p,
.content-card p,
.content-card li {
  margin: 0;
  color: #c6b3ac;
  font-size: 14px;
  line-height: 1.82;
}
.legal-section p { white-space: pre-line; }
.content-card ul { margin: 0; padding-left: 22px; }
.content-card a { color: #ff7440; font-weight: 690; }
.legal-status {
  padding: 40px;
  border: 1px solid rgba(255, 107, 47, .16);
  border-radius: 20px;
  background: rgba(26, 9, 5, .94);
  color: #bba39a;
  text-align: center;
}
.legal-status.error { color: #b42318; }

.inner-site-footer {
  position: relative;
  z-index: 3;
  width: min(1100px, calc(100% - 36px));
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 28px;
  margin: -42px auto 28px;
  padding: 20px 22px;
  border: 1px solid rgba(255, 105, 45, .16);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(30, 10, 6, .9), rgba(17, 5, 3, .95));
  color: #8d746b;
  font-size: 10px;
  box-shadow: 0 15px 42px rgba(0, 0, 0, .2);
  transition:
    opacity var(--motion-exit) ease,
    transform var(--motion-exit) var(--motion-ease);
}

.has-motion .inner-site-nav[data-motion-reveal] { transform: translateY(-8px); }
.has-motion .inner-site-nav[data-motion-reveal].is-motion-reveal-ready { transform: translateY(0); }
.has-motion .legal-hero[data-motion-reveal],
.has-motion .content-hero[data-motion-reveal] { transform: translateY(14px) scale(.985); }
.has-motion .legal-hero[data-motion-reveal].is-motion-reveal-ready,
.has-motion .content-hero[data-motion-reveal].is-motion-reveal-ready { transform: translateY(0) scale(1); }
.inner-footer-brand { color: #fff4ef; font-size: 14px; font-weight: 770; }
.inner-footer-brand img { width: 34px; height: 34px; border-radius: 11px; object-fit: cover; }
.inner-site-footer nav { display: flex; flex-wrap: wrap; gap: 16px; }
.inner-site-footer nav a { color: #b39b92; font-weight: 610; text-decoration: none; }
.inner-site-footer nav a:hover,
.inner-site-footer nav a:focus-visible { color: var(--brand); outline: none; }

@media (max-width: 720px) {
  .inner-site-header { min-height: 220px; }
  .inner-site-nav { width: calc(100% - 32px); padding-top: 18px; }
  .inner-site-links a { padding: 8px 9px; font-size: 10px; }
  .inner-site-links a:nth-child(2) { display: none; }
  .inner-site-intro { width: calc(100% - 32px); margin-top: 58px; }
  .legal-shell,
  .content-shell { width: calc(100% - 28px); margin-top: -50px; padding-bottom: 67px; }
  .legal-back { margin-left: 16px; }
  .legal-hero,
  .content-hero { padding: 30px 27px; border-radius: 23px; }
  .legal-hero::before,
  .content-hero::before { left: 27px; }
  .legal-section,
  .content-card { padding: 23px 22px; border-radius: 18px; }
  .inner-site-footer {
    grid-template-columns: 1fr auto;
    gap: 14px;
    margin-top: -34px;
  }
  .inner-site-footer > span { grid-column: 1 / -1; }
}

@media (max-width: 1024px), (hover: none) and (pointer: coarse) {
  .legal-section,
  .content-card {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: linear-gradient(145deg, rgba(30, 10, 6, .98), rgba(19, 6, 3, .99));
  }
}

@media (hover: none) {
  .legal-section:hover,
  .content-card:hover {
    border-color: rgba(255, 107, 47, .14);
    box-shadow: inset 0 1px rgba(255, 255, 255, .018), 0 12px 34px rgba(0, 0, 0, .18);
    transform: none;
  }
}

@media (max-width: 440px) {
  .inner-site-brand { font-size: 17px; }
  .inner-site-brand img { width: 42px; height: 42px; border-radius: 14px; }
  .inner-site-links a:nth-child(1) { display: none; }
  .legal-hero h1,
  .content-hero h1 { font-size: 34px; }
  .legal-summary,
  .content-hero p { font-size: 14px; }
  .inner-site-footer { grid-template-columns: 1fr; }
  .inner-site-footer nav { gap: 14px; }
  .inner-site-footer > span { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .legal-section:hover,
  .content-card:hover { transform: none; }
}
