/**
 * Copyright (c) 2026 Al Ahad Naba, trading as Relo Studio. All rights reserved.
 *
 * Proprietary source code, protected under the UK Copyright, Designs and
 * Patents Act 1988 (s.3(1)(b)). Copying, adaptation, scraping or commercial
 * redistribution of this code or its design without written permission is
 * prohibited. See https://relostudio.co.uk/legal.html
 */

/* The legal notice: one long read, numbered like a contract, set like the
   rest of the site so it reads as part of it rather than an afterthought. */

.legal {
  position: relative;
  z-index: 1;
  padding-top: calc(var(--nav-h) + clamp(3rem, 2rem + 4vw, 5.5rem));
  padding-bottom: var(--sp-section);
}

.legal__head {
  display: grid;
  gap: var(--sp-4);
  padding-bottom: var(--sp-7);
  border-bottom: 1px solid var(--line);
}

.legal__head h1 { font-size: var(--step-5); max-width: 16ch; }
.legal__head .lede { max-width: 44ch; }
.legal__meta { font-size: var(--step--1); color: var(--cream-400); }

.legal__clause {
  display: grid;
  gap: var(--sp-3);
  grid-template-columns: minmax(0, 1fr);
  padding-block: var(--sp-6);
  border-bottom: 1px solid var(--line);
}

@media (min-width: 48rem) {
  .legal__clause { grid-template-columns: 4.5rem minmax(0, 1fr); column-gap: var(--sp-5); }
}

.legal__num {
  font-family: var(--font-display);
  font-size: var(--step-3);
  line-height: 1;
  color: var(--copper-400);
}

.legal__body { display: grid; gap: var(--sp-4); max-width: var(--measure); }
.legal__body h2 { font-size: var(--step-2); line-height: 1.12; }
.legal__body h3 {
  margin-top: var(--sp-3);
  font-size: var(--step--1);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-300);
  font-weight: 600;
}
.legal__body p, .legal__body li { color: var(--fg-muted); }
.legal__body strong { color: var(--cream-50); font-weight: 600; }
.legal__body a { color: var(--copper-200); }

.legal__body ul { display: grid; gap: var(--sp-2); }
.legal__body li { position: relative; padding-left: 1.25rem; }
.legal__body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--copper-400);
}

.legal-footer { padding-block: var(--sp-6); }
