@import url("/assets/css/typography.css?v=202607301049");
:root {
  --legal-ink: #171717;
  --legal-muted: #67635c;
  --legal-line: #ddd7cc;
  --legal-soft: #f4f0e7;
  --legal-gold: #c9a24d;
}

.legal-page {
  min-height: 100vh;
  background: #fcfbf8;
}

.legal-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 9vw, 112px) 0 clamp(54px, 7vw, 88px);
  color: #fff;
  background:
    radial-gradient(circle at 85% 15%, rgba(201, 162, 77, .22), transparent 30%),
    linear-gradient(135deg, #111 0%, #1c1c1c 58%, #0a0a0a 100%);
}

.legal-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .09;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to right, transparent 5%, #000 60%);
}

.legal-hero .shell {
  position: relative;
  z-index: 1;
}

.legal-kicker {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 16px;
  color: #edd89e;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.legal-kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--legal-gold);
}

.legal-hero h1 {
  max-width: 850px;
  margin: 0;
  font-family:"Source Sans 3", "Segoe UI", Arial, sans-serif;
  font-size: clamp(48px, 7vw, 82px);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1;
}

.legal-hero .lead {
  max-width: 760px;
  margin: 24px 0 0;
  color: #d8d5ce;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.75;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 28px;
  color: #aaa69f;
  font-size: 13px;
}

.legal-meta strong {
  color: #fff;
}

.legal-main {
  padding: clamp(44px, 7vw, 78px) 0 90px;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(210px, 270px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 26px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--legal-line);
  border-radius: 18px;
  box-shadow: 0 13px 38px rgba(17,17,17,.055);
}

.legal-toc h2 {
  margin: 0 0 13px;
  font-family:"Source Sans 3", "Segoe UI", Arial, sans-serif;
  font-size: 21px;
}

.legal-toc nav {
  display: grid;
  gap: 4px;
}

.legal-toc a {
  padding: 7px 9px;
  color: #5d5952;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
}

.legal-toc a:hover,
.legal-toc a:focus-visible {
  color: #111;
  background: var(--legal-soft);
  outline: none;
}

.legal-content {
  min-width: 0;
}

.legal-card {
  padding: clamp(24px, 4vw, 42px);
  background: #fff;
  border: 1px solid var(--legal-line);
  border-radius: 22px;
  box-shadow: 0 18px 55px rgba(17,17,17,.06);
}

.legal-section + .legal-section {
  padding-top: 34px;
  margin-top: 34px;
  border-top: 1px solid #ebe6dd;
}

.legal-section h2 {
  margin: 0 0 13px;
  color: var(--legal-ink);
  font-family:"Source Sans 3", "Segoe UI", Arial, sans-serif;
  font-size: clamp(27px, 3.5vw, 36px);
  font-weight: 600;
  line-height: 1.15;
}

.legal-section h3 {
  margin: 23px 0 7px;
  color: var(--legal-ink);
  font-size: 17px;
}

.legal-section p,
.legal-section li {
  color: #45413c;
  font-size: 16px;
  line-height: 1.78;
}

.legal-section p {
  margin: 0 0 14px;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section ul,
.legal-section ol {
  margin: 10px 0 0;
  padding-left: 22px;
}

.legal-section li + li {
  margin-top: 8px;
}

.legal-section a,
.legal-contact a,
.support-card a {
  color: #6c5119;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(108,81,25,.35);
  text-underline-offset: 3px;
}

.legal-section a:hover,
.legal-section a:focus-visible,
.legal-contact a:hover,
.legal-contact a:focus-visible,
.support-card a:hover,
.support-card a:focus-visible {
  color: #111;
  text-decoration-color: currentColor;
}

.legal-note {
  padding: 18px 20px;
  margin: 20px 0;
  color: #3d3523;
  background: #f7efd9;
  border: 1px solid #e5d19a;
  border-radius: 14px;
}

.legal-note strong {
  color: #241d10;
}

.legal-contact {
  display: grid;
  gap: 8px;
  padding: 22px;
  margin-top: 24px;
  background: var(--legal-soft);
  border: 1px solid #e4ddd0;
  border-radius: 16px;
}

.legal-contact p {
  margin: 0;
}

.legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.legal-actions .button {
  min-height: 46px;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.support-card {
  padding: 23px;
  background: #fff;
  border: 1px solid var(--legal-line);
  border-radius: 17px;
}

.support-card h3 {
  margin: 0 0 8px;
  font-family:"Source Sans 3", "Segoe UI", Arial, sans-serif;
  font-size: 23px;
}

.support-card p {
  margin: 0;
  color: var(--legal-muted);
  line-height: 1.65;
}

.support-card .support-icon {
  display: grid;
  width: 43px;
  height: 43px;
  margin-bottom: 16px;
  place-items: center;
  color: #111;
  background: var(--legal-gold);
  border-radius: 12px;
  font-size: 21px;
}

.support-steps {
  counter-reset: support-step;
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.support-steps li {
  counter-increment: support-step;
  position: relative;
  min-height: 42px;
  padding-left: 54px;
}

.support-steps li::before {
  content: counter(support-step);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #111;
  background: #ead596;
  border-radius: 50%;
  font-weight: 900;
}

.legal-footer {
  padding: 26px 0 34px;
  color: #aaa69f;
  background: #111;
  border-top: 4px solid var(--legal-gold);
}

.legal-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.legal-footer p {
  margin: 0;
  font-size: 13px;
}

.legal-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}

.legal-footer a {
  color: #e7d39b;
  font-size: 13px;
  font-weight: 750;
}

.legal-footer a:hover,
.legal-footer a:focus-visible {
  color: #fff;
}

@media (max-width: 820px) {
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-toc {
    position: static;
  }

  .legal-toc nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 650px) {
  .support-grid {
    grid-template-columns: 1fr;
  }

  .legal-toc nav {
    grid-template-columns: 1fr;
  }

  .legal-footer-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
