:root {
  --deltr-pink: #FA3B5E;
}

.deltr-header {
  width: 100%;
  max-width: 1120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
}

.deltr-logo img {
  width: auto;
  height: 40px;
}

.deltr-nav ul {
  display: flex;
  gap: clamp(16px, 4vw, 32px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.deltr-nav a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.deltr-nav a:hover,
.deltr-nav a:focus-visible,
.deltr-nav a[aria-current="page"] {
  color: var(--deltr-pink);
}

.deltr-footer {
  width: 100%;
  max-width: 1120px;
  margin-top: auto;
  padding: 48px 0 32px;
  font-size: 0.85rem;
}

.deltr-footer ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px clamp(16px, 4vw, 32px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.deltr-footer a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.deltr-footer a:hover,
.deltr-footer a:focus-visible,
.deltr-footer a[aria-current="page"] {
  color: var(--deltr-pink);
}

body:has(.legal) .deltr-header,
body:has(.legal) .deltr-footer,
.legal {
  max-width: 720px;
}

.legal {
  width: 100%;
  padding: 8px 0 16px;
  font-size: 0.95rem;
  line-height: 1.65;
}

.legal h1 {
  margin: 0 0 8px;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.legal .legal-updated {
  margin: 0 0 2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.legal h2 {
  margin: 2.75rem 0 0.75rem;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  scroll-margin-top: 24px;
}

.legal h3 {
  margin: 1.75rem 0 0.5rem;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.35;
  scroll-margin-top: 24px;
}

.legal p,
.legal ul,
.legal ol,
.legal address {
  margin: 0 0 1rem;
}

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

.legal li {
  margin: 0.4rem 0;
}

.legal li > ul,
.legal li > ol {
  margin-bottom: 0.25rem;
}

.legal a {
  color: var(--deltr-pink);
  overflow-wrap: anywhere;
}

.legal a:hover,
.legal a:focus-visible {
  text-decoration: none;
}

.legal .in-short {
  color: var(--muted);
}

.legal .toc {
  padding-left: 1.4rem;
}

.legal .toc a {
  text-decoration: none;
}

.legal .toc a:hover,
.legal .toc a:focus-visible {
  text-decoration: underline;
}

.legal address {
  font-style: normal;
}

.legal .table-wrap {
  width: 100%;
  margin: 0 0 1rem;
  overflow-x: auto;
}

.legal table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.85rem;
  line-height: 1.45;
}

.legal th,
.legal td {
  border: 1px solid #e2e8f0;
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.legal th {
  background: #f8fafc;
}

.legal td:last-child,
.legal th:last-child {
  text-align: center;
  white-space: nowrap;
}

.legal .attribution {
  margin-top: 2.5rem;
  color: var(--muted);
  font-size: 0.85rem;
}
