:root {
  --petrol: #073e4b;
  --petrol-deep: #042b35;
  --gold: #d99b28;
  --gold-deep: #b97612;
  --cream: #fbf8f1;
  --muted: #66757c;
  --line: rgba(7, 62, 75, 0.14);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, Avenir, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--petrol);
  background: var(--cream);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.legal-header {
  min-height: 126px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 10px max(24px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.legal-header img {
  width: 185px;
  height: 112px;
  object-fit: contain;
}

.legal-header a:last-child {
  padding: 12px 18px;
  color: #fff;
  border-radius: 10px;
  background: var(--petrol);
  font-size: 0.75rem;
  font-weight: 800;
  text-decoration: none;
}

.legal-hero {
  padding: 88px max(24px, calc((100vw - 980px) / 2)) 52px;
  color: #fff;
  background:
    radial-gradient(circle at 15% 0, rgba(217, 155, 40, 0.25), transparent 30%),
    linear-gradient(145deg, var(--petrol), var(--petrol-deep));
}

.legal-label {
  margin: 0 0 13px;
  color: #f7e6bd;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.legal-hero h1 {
  max-width: 800px;
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: clamp(3.2rem, 7vw, 6.3rem);
  line-height: 0.94;
}

.legal-hero p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
}

.legal-content {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: 64px 0 90px;
}

.legal-content section {
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}

.legal-content h2 {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.75;
}

.legal-content p {
  margin: 0 0 13px;
}

.legal-content ul {
  margin: 0;
  padding-left: 22px;
}

.legal-content strong {
  color: var(--petrol);
}

.legal-note {
  margin: 0 0 24px;
  padding: 22px 24px;
  border-left: 4px solid var(--gold);
  border-radius: 0 14px 14px 0;
  background: #fff;
  box-shadow: 0 15px 35px rgba(4, 43, 53, 0.08);
}

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

.legal-contact {
  display: grid;
  gap: 5px;
  width: fit-content;
  margin-top: 18px;
}

.legal-contact a {
  color: var(--gold-deep);
  font-weight: 800;
}

.legal-footer {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  padding: 32px max(24px, calc((100vw - 980px) / 2));
  color: rgba(255, 255, 255, 0.68);
  background: var(--petrol-deep);
  font-size: 0.68rem;
}

.legal-footer nav {
  display: flex;
  gap: 18px;
}

@media (max-width: 640px) {
  .legal-header {
    min-height: 104px;
  }

  .legal-header img {
    width: 145px;
    height: 92px;
  }

  .legal-hero {
    padding-top: 68px;
  }

  .legal-content {
    width: min(100% - 32px, 980px);
    padding-top: 42px;
  }

  .legal-footer {
    flex-direction: column;
  }
}
